Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Hermes
Summary Lists News SCM
index 5f828e6..f4b3391 100644 (file)
@@ -31,11 +31,14 @@ class IntegrationTestGravatarService(unittest.TestCase):
         self.testee.pre_process_contact(self.existing_contact)
         self.testee.pre_process_contact(self.missing_contact)
         self.testee.process_friends()
-        self.testee.process_contact(self.existing_contact)
-        self.testee.process_contact(self.missing_contact)
+        existing_friend = self.testee.process_contact(self.existing_contact)
+        missing_friend = self.testee.process_contact(self.missing_contact)
         
-        friends = self.testee.get_friends()
-        contacts = self.testee.get_contacts_with_match()
+        assert isinstance(existing_friend, Friend)
+        assert missing_friend is None
+        
+        friends = self.testee._get_friends()
+        contacts = self.testee._get_contacts_with_match()
         assert len(friends) == 1
         assert len(contacts) == 1
         assert self.missing_contact not in contacts.keys()

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment