def test_account_exist(self): self.user_details.register() test_userDetails = User("Test", "user", "gmail.com") test_userDetails.register() account_exist = User.account_exist("Test") self.assertTrue(account_exist)
def check_if_accountExist(number): return User.account_exist(number)