Exemplo n.º 1
0
 def test_user_account_exits(self):
     self.newlogin.save_user_account()
     test_user = Credentials("username", "password", "accountType")
     test_user.save_user_account()
     user_account_exists = Credentials.user_account_exists("username")
     self.assertEqual(user_account_exists)
Exemplo n.º 2
0
def check_existing_user_account(username):
    return Credentials.user_account_exists(username)
Exemplo n.º 3
0
 def test_user_accounts_exist(self):
     self.newlogin.save_user_account()
     test_user = Credentials("namesusing","passusing","accountusing")
     test_user.save_user_account()
     user_account_exists = Credentials.user_account_exists("namesusing")
     self.assertTrue(user_account_exists)