Example #1
0
    def test_contact_exists(self):
        """test to check if we can return Boolean "if we cannot find the contact"""
        self.new_contact.save_contact()
        test_contact = Contacts('Test', 'User', '071234786', '*****@*****.**')
        test_contact.save_contact()

        contact_exists = Contacts.contact_exists('0711223344')

        self.assertTrue(contact_exists)