Menu

#1 NotCalledInvocationMatcher doesn't verify

open
nobody
None
5
2005-12-08
2005-12-08
Anonymous
No

change verify() in NotCalledInvocationMatcher to:
def verify(self):
if self.has_been_invoked():
raise AssertionError("expected method was
invoked")

Discussion


Log in to post a comment.

MongoDB Logo MongoDB