diff --git a/modules/ing/test.py b/modules/ing/test.py index f3a924f4..a439a8f7 100644 --- a/modules/ing/test.py +++ b/modules/ing/test.py @@ -35,7 +35,7 @@ class INGTest(BackendTest): self.assertTrue(_id.id == account.id) # Methods can use Account objects or id. Try one of them id_or_account = random.choice([account, account.id]) - if account.type == Account.TYPE_CHECKING or account.type == Account.TYPE_CHECKING: + if account.type == Account.TYPE_CHECKING or account.type == Account.TYPE_SAVINGS: history = list(self.backend.iter_history(id_or_account)) self.assertTrue(len(history) > 0) date = history.pop(0).date