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))