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 __init__ (self, expected_methods)
 
def __str__ (self)
 
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 bloaty/third_party/protobuf/python/mox.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

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 bloaty/third_party/protobuf/python/mox.py.

◆ __init__() [2/2]

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 protobuf/python/mox.py.

Member Function Documentation

◆ __str__() [1/2]

def mox.ExpectedMethodCallsError.__str__ (   self)

Definition at line 96 of file bloaty/third_party/protobuf/python/mox.py.

◆ __str__() [2/2]

def mox.ExpectedMethodCallsError.__str__ (   self)

Definition at line 96 of file protobuf/python/mox.py.

Member Data Documentation

◆ _expected_methods

mox.ExpectedMethodCallsError._expected_methods
private

Definition at line 94 of file bloaty/third_party/protobuf/python/mox.py.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:41