Public Member Functions | Private Attributes | List of all members
mox.UnknownMethodCallError Class Reference
Inheritance diagram for mox.UnknownMethodCallError:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, unknown_method_name)
 
def __str__ (self)
 

Private Attributes

 _unknown_method_name
 

Detailed Description

Raised if an unknown method is requested of the mock object.

Definition at line 130 of file mox.py.

Constructor & Destructor Documentation

◆ __init__()

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 mox.py.

Member Function Documentation

◆ __str__()

def mox.UnknownMethodCallError.__str__ (   self)

Definition at line 145 of file mox.py.

Member Data Documentation

◆ _unknown_method_name

mox.UnknownMethodCallError._unknown_method_name
private

Definition at line 143 of file mox.py.


The documentation for this class was generated from the following file:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11