예제 #1
0
    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)
예제 #2
0
def check_if_accountExist(number):
    return User.account_exist(number)