Public Member Functions | |
def | __repr__ (self) |
def | __repr__ (self) |
def | equals (self, unused_rhs) |
def | equals (self, unused_rhs) |
![]() | |
def | __eq__ (self, rhs) |
def | __eq__ (self, rhs) |
def | __ne__ (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')
Definition at line 1156 of file bloaty/third_party/protobuf/python/mox.py.
def mox.IgnoreArg.__repr__ | ( | self | ) |
Definition at line 1178 of file bloaty/third_party/protobuf/python/mox.py.
def mox.IgnoreArg.__repr__ | ( | self | ) |
Definition at line 1178 of file protobuf/python/mox.py.
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.
Definition at line 1166 of file protobuf/python/mox.py.
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.
Definition at line 1166 of file bloaty/third_party/protobuf/python/mox.py.