def test_credentials_exists(self): ''' test to check if we can return a Boolean if we cannot find the contact. ''' self.new_credentials.save_credentials() test_credentials = Credentials("1244", "*****@*****.**") test_credentials.__call__() credentials_exists = Credentials.credentials_exist("1244") self.assertTrue(credentials_exists)