def test_display_account_credentials(self): self.assertEqual(Account.display_accounts(),Account.account_list)
def test_delete_account(self): self.new_account.save_account() test_account = Account("Twitter", "Gisele", "sweeter") test_account.save_account() test_account.delete_account() self.assertEqual(len(Account.account_list),1)
def setUp(self): self.new_account = Account("Instagram", "Gisele", "sweet")