From 899cec0fdc7d5bfaf7d545a9f2fa4737b1f24c8b Mon Sep 17 00:00:00 2001 From: Kevin Pouget Date: Fri, 16 Nov 2012 15:56:03 +0100 Subject: [PATCH] details --- modules/creditcooperatif/pages.py | 6 ++---- modules/creditcooperatif/test.py | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/creditcooperatif/pages.py b/modules/creditcooperatif/pages.py index e5868ef7..3aff295b 100644 --- a/modules/creditcooperatif/pages.py +++ b/modules/creditcooperatif/pages.py @@ -39,8 +39,8 @@ class LoginPage(BasePage): self.browser.submit(nologin=True) class AccountsPage(BasePage): - ACCOUNT_TYPES = {u'COMPTE NEF': Account.TYPE_CHECKING - } + ACCOUNT_TYPES = {u'COMPTE NEF': Account.TYPE_CHECKING} + CPT_ROW_ID = 0 CPT_ROW_NAME = 1 CPT_ROW_NATURE = 2 @@ -91,7 +91,6 @@ class Transaction(FrenchTransaction): FrenchTransaction.TYPE_UNKNOWN), ] - class TransactionsPage(BasePage): def get_next_url(self): # can be 'Suivant' or ' Suivant' @@ -163,4 +162,3 @@ class ComingTransactionsPage(BasePage): t.set_amount("", debit) yield t - pass diff --git a/modules/creditcooperatif/test.py b/modules/creditcooperatif/test.py index aa4b8056..7611f03f 100644 --- a/modules/creditcooperatif/test.py +++ b/modules/creditcooperatif/test.py @@ -28,3 +28,4 @@ class CreditCooperatifTest(BackendTest): if len(l) > 0: a = l[0] list(self.backend.iter_history(a)) + list(self.backend.iter_coming(a))