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

Public Member Functions

def setUp (self)
 
def setUp (self)
 

Public Attributes

 mox
 

Static Private Attributes

 __metaclass__ = MoxMetaTestBase
 

Detailed Description

Convenience test class to make stubbing easier.

Sets up a "mox" attribute which is an instance of Mox - any mox tests will
want this. Also automatically unsets any stubs and verifies that all mock
methods have been called at the end of each test, eliminating boilerplate
code.

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

Member Function Documentation

◆ setUp() [1/2]

def mox.MoxTestBase.setUp (   self)

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

◆ setUp() [2/2]

def mox.MoxTestBase.setUp (   self)

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

Member Data Documentation

◆ __metaclass__

mox.MoxTestBase.__metaclass__ = MoxMetaTestBase
staticprivate

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

◆ mox

mox.MoxTestBase.mox

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