From ab8067bc92eb125486d662d97e2b287a6c655c5c Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 4 Sep 2014 23:52:38 +0200 Subject: [PATCH] Real testing of saving accounts... --- modules/ing/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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