Finishing testing promises.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ef465b34e7
commit
a182c703f4
8 changed files with 114 additions and 36 deletions
|
@ -30,4 +30,4 @@ class Spy:
|
|||
def __call__(self, *args, **kwargs):
|
||||
self.calls.append((args, kwargs))
|
||||
if self.function is not None:
|
||||
self.function(*args, **kwargs)
|
||||
return self.function(*args, **kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue