
Public Member Functions | |
| def | __repr__ (self) |
| def | equals (self, unused_rhs) |
Public Member Functions inherited from mox.Comparator | |
| def | __eq__ (self, rhs) |
| def | __ne__ (self, rhs) |
Ignore an argument. This can be used when we don't care about an argument of a method call. Example: # Check if CastMagic is called with 3 as first arg and 'disappear' as third. mymock.CastMagic(3, IgnoreArg(), 'disappear')
| def mox.IgnoreArg.equals | ( | self, | |
| unused_rhs | |||
| ) |
Ignores arguments and returns True. Args: unused_rhs: any python object Returns: always returns True
Reimplemented from mox.Comparator.