def test_accountcredential_exists(self):

        self.new_accountcredential.save_accountcredential()
        test_accountcredential = Accountcredential(
            "Testaccount", "Testusername",
            "Testpassword")  # new accountcredential
        test_accountcredential.save_accountcredential()

        accountcredential_exists = Accountcredential.accountcredential_exist(
            "Testaccount")

        self.assertTrue(accountcredential_exists)
Exemple #2
0
def check_existing_accountcredentials(number):
    return Accountcredential.accountcredential_exist(number)