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

Public Member Functions

def __init__ (self, expected_methods)
 
def __str__ (self)
 

Private Attributes

 _expected_methods
 

Detailed Description

Raised when Verify() is called before all expected methods have been called

Definition at line 75 of file mox.py.

Constructor & Destructor Documentation

◆ __init__()

def mox.ExpectedMethodCallsError.__init__ (   self,
  expected_methods 
)
Init exception.

Args:
  # expected_methods: A sequence of MockMethod objects that should have been
  #   called.
  expected_methods: [MockMethod]

Raises:
  ValueError: if expected_methods contains no methods.

Definition at line 79 of file mox.py.

Member Function Documentation

◆ __str__()

def mox.ExpectedMethodCallsError.__str__ (   self)

Definition at line 96 of file mox.py.

Member Data Documentation

◆ _expected_methods

mox.ExpectedMethodCallsError._expected_methods
private

Definition at line 94 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