coolblaze03's picture
Add files using upload-large-folder tool
29a4423 verified
Raw
History Blame Contribute Delete
199 Bytes
def when2(fn, *args, **kwargs):
"""pass"""
obj, name = get_obj_attr_tuple(fn)
theMock = _get_mock(obj, strict=True)
return invocation.StubbedInvocation(theMock, name)(*args, **kwargs)