Public Member Functions | |
def | __init__ (self, key, value) |
def | __init__ (self, key, value) |
def | __repr__ (self) |
def | __repr__ (self) |
def | equals (self, rhs) |
def | equals (self, rhs) |
![]() | |
def | __eq__ (self, rhs) |
def | __eq__ (self, rhs) |
def | __ne__ (self, rhs) |
def | __ne__ (self, rhs) |
Private Attributes | |
_key | |
_value | |
Checks whether a key/value pair is in a dict parameter. Example: mock_dao.UpdateUsers(ContainsKeyValue('stevepm', stevepm_user_info))
Definition at line 971 of file bloaty/third_party/protobuf/python/mox.py.
def mox.ContainsKeyValue.__init__ | ( | self, | |
key, | |||
value | |||
) |
Initialize. Args: # key: a key in a dict # value: the corresponding value
Definition at line 978 of file bloaty/third_party/protobuf/python/mox.py.
def mox.ContainsKeyValue.__init__ | ( | self, | |
key, | |||
value | |||
) |
Initialize. Args: # key: a key in a dict # value: the corresponding value
Definition at line 978 of file protobuf/python/mox.py.
def mox.ContainsKeyValue.__repr__ | ( | self | ) |
Definition at line 1001 of file bloaty/third_party/protobuf/python/mox.py.
def mox.ContainsKeyValue.__repr__ | ( | self | ) |
Definition at line 1001 of file protobuf/python/mox.py.
def mox.ContainsKeyValue.equals | ( | self, | |
rhs | |||
) |
Check whether the given key/value pair is in the rhs dict. Returns: bool
Reimplemented from mox.Comparator.
Definition at line 989 of file protobuf/python/mox.py.
def mox.ContainsKeyValue.equals | ( | self, | |
rhs | |||
) |
Check whether the given key/value pair is in the rhs dict. Returns: bool
Reimplemented from mox.Comparator.
Definition at line 989 of file bloaty/third_party/protobuf/python/mox.py.
|
private |
Definition at line 986 of file bloaty/third_party/protobuf/python/mox.py.
|
private |
Definition at line 987 of file bloaty/third_party/protobuf/python/mox.py.