Public Member Functions | |
def | __init__ (self, unexpected_method, expected) |
def | __str__ (self) |
Private Attributes | |
_expected | |
_unexpected_method | |
Raised when an unexpected method is called. This can occur if a method is called with incorrect parameters, or out of the specified order.
def mox.UnexpectedMethodCallError.__init__ | ( | self, | |
unexpected_method, | |||
expected | |||
) |
Init exception. Args: # unexpected_method: MockMethod that was called but was not at the head of # the expected_method queue. # expected: MockMethod or UnorderedGroup the method should have # been in. unexpected_method: MockMethod expected: MockMethod or UnorderedGroup