
Public Member Functions | |
| def | __init__ (self, class_name) |
| def | __repr__ (self) |
| def | equals (self, rhs) |
Public Member Functions inherited from mox.Comparator | |
| def | __eq__ (self, rhs) |
| def | __ne__ (self, rhs) |
Private Attributes | |
| _class_name | |
This class wraps a basic Python type or class. It is used to verify that a parameter is of the given type or class. Example: mock_dao.Connect(IsA(DbConnectInfo))
| def mox.IsA.__init__ | ( | self, | |
| class_name | |||
| ) |
| def mox.IsA.equals | ( | self, | |
| rhs | |||
| ) |
Check to see if the RHS is an instance of class_name. Args: # rhs: the right hand side of the test rhs: object Returns: bool
Reimplemented from mox.Comparator.