Esempio n. 1
0
    def test_find_account_by_name(self):
        self.new_account.save_account()
        test_account = Account("Medium", "Jeff_Bezos", "investingissmart")
        test_account.save_account()

        found_account = Account.find_by_accountName("Medium")
        self.assertEqual(found_account.account_name, "Medium")
Esempio n. 2
0
def find_account_credentials(accountname):
    return Account.find_by_accountName(accountname)