Example #1
0
    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)
Example #2
0
def account_existx(passwrd):
    return Credential.account_exist(passwrd)