coolblaze03's picture
Upload folder using huggingface_hub
907001b verified
Raw
History Blame Contribute Delete
360 Bytes
def when(obj, strict=None):
"""pass"""
if isinstance(obj, str):
obj = get_obj(obj)
if strict is None:
strict = True
theMock = _get_mock(obj, strict=strict)
class When(object):
def __getattr__(self, method_name):
return invocation.StubbedInvocation(theMock, method_name, strict=strict)
return When()