Signed-off-by: Fredrik Wendt <fredrik@wendt.se>
# -----------------------------------------------------------------------
def _register_match(self, contact, friend):
+ friend.set_contact(contact)
self._friends_by_contact[contact] = friend
self._contacts_by_friend[friend] = contact
assert self.missing_contact not in contacts
assert self.existing_contact not in contacts.keys()
assert friends[0].get_name() == self.existing_contact.get_name()
+ assert friends[0].get_contact() == self.multiple_contact
def _fake_server_response(self, map):