def test_account_exists(self): self.new_account.save_user_details() test_newaccount = UserAccount("Gmail", "User", "Password") test_newaccount.save_user_details() account_exists = UserAccount.check_user_account("Gmail") self.assertTrue(account_exists)