webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | equals (self, unused_rhs) |
def | __repr__ (self) |
Public Member Functions inherited from mox.Comparator | |
def | equals (self, rhs) |
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.__repr__ | ( | self | ) |
def mox.IgnoreArg.equals | ( | self, | |
unused_rhs | |||
) |
Ignores arguments and returns True. Args: unused_rhs: any python object Returns: always returns True