coolblaze03's picture
Upload folder using huggingface_hub
907001b verified
Raw
History Blame Contribute Delete
502 Bytes
def expect(obj, strict=None, times=None, atleast=None, atmost=None, between=None):
"""pass"""
if strict is None:
strict = True
theMock = _get_mock(obj, strict=strict)
verification_fn = _get_wanted_verification(times=times, atleast=atleast, atmost=atmost, between=between)
class Expect(object):
def __getattr__(self, method_name):
return invocation.StubbedInvocation(theMock, method_name, verification=verification_fn, strict=strict)
return Expect()