|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __init__ (self, key, value) |
| def | equals (self, rhs) |
| def | __repr__ (self) |
Public Member Functions inherited from mox.Comparator | |
| def | equals (self, rhs) |
| def | __eq__ (self, rhs) |
| def | __ne__ (self, rhs) |
Checks whether a key/value pair is in a dict parameter.
Example:
mock_dao.UpdateUsers(ContainsKeyValue('stevepm', stevepm_user_info))
| def mox.ContainsKeyValue.__init__ | ( | self, | |
| key, | |||
| value | |||
| ) |
Initialize. Args: # key: a key in a dict # value: the corresponding value
| def mox.ContainsKeyValue.__repr__ | ( | self | ) |
| def mox.ContainsKeyValue.equals | ( | self, | |
| rhs | |||
| ) |
Check whether the given key/value pair is in the rhs dict. Returns: bool
1.8.13