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)
def check_existing_user_account(username): return Credentials.user_account_exists(username)
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)