fixed Gravatar service to set friend['contact'] (and test)
[hermes] / package / test / unit / test_gravatar.py
index cd612ff..f2e5141 100644 (file)
@@ -31,6 +31,7 @@ class TestGravatarService(unittest.TestCase):
         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):