Public Member Functions | |
def | __init__ (self, unexpected_method, expected) |
def | __init__ (self, unexpected_method, expected) |
def | __str__ (self) |
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.
Definition at line 102 of file bloaty/third_party/protobuf/python/mox.py.
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
Definition at line 109 of file bloaty/third_party/protobuf/python/mox.py.
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
Definition at line 109 of file protobuf/python/mox.py.
def mox.UnexpectedMethodCallError.__str__ | ( | self | ) |
Definition at line 125 of file bloaty/third_party/protobuf/python/mox.py.
def mox.UnexpectedMethodCallError.__str__ | ( | self | ) |
Definition at line 125 of file protobuf/python/mox.py.
|
private |
Definition at line 123 of file bloaty/third_party/protobuf/python/mox.py.
|
private |
Definition at line 122 of file bloaty/third_party/protobuf/python/mox.py.