def test_account_exists(self): self.new_credential.save_credential() another_credential = Credential("James", "Gitau", "QWERTY") another_credential.save_credential() exist_account = Credential.account_exist("QWERTY") self.assertTrue(exist_account)
def account_existx(passwrd): return Credential.account_exist(passwrd)