Raised if an unknown method is requested of the mock object.
Definition at line 130 of file bloaty/third_party/protobuf/python/mox.py.
◆ __init__() [1/2]
def mox.UnknownMethodCallError.__init__ |
( |
|
self, |
|
|
|
unknown_method_name |
|
) |
| |
◆ __init__() [2/2]
def mox.UnknownMethodCallError.__init__ |
( |
|
self, |
|
|
|
unknown_method_name |
|
) |
| |
Init exception.
Args:
# unknown_method_name: Method call that is not part of the mocked class's
# public interface.
unknown_method_name: str
Definition at line 133 of file protobuf/python/mox.py.
◆ __str__() [1/2]
def mox.UnknownMethodCallError.__str__ |
( |
|
self | ) |
|
◆ __str__() [2/2]
def mox.UnknownMethodCallError.__str__ |
( |
|
self | ) |
|
◆ _unknown_method_name
mox.UnknownMethodCallError._unknown_method_name |
|
private |
The documentation for this class was generated from the following file: