diff --git a/modules/bnporc/backend.py b/modules/bnporc/backend.py index c835b47e..1302cab8 100644 --- a/modules/bnporc/backend.py +++ b/modules/bnporc/backend.py @@ -90,7 +90,7 @@ class BNPorcBackend(BaseBackend, ICapBank, ICapMessages): with self.browser: return self.browser.iter_history(account._link_id) - def iter_operations(self, account): + def iter_coming(self, account): with self.browser: return self.browser.iter_coming_operations(account._link_id) diff --git a/modules/bnporc/test.py b/modules/bnporc/test.py index a3356944..7c965ec4 100644 --- a/modules/bnporc/test.py +++ b/modules/bnporc/test.py @@ -29,7 +29,7 @@ class BNPorcTest(BackendTest): l = list(self.backend.iter_accounts()) if len(l) > 0: a = l[0] - list(self.backend.iter_operations(a)) + list(self.backend.iter_coming(a)) list(self.backend.iter_history(a)) def test_msgs(self): diff --git a/modules/boursorama/backend.py b/modules/boursorama/backend.py index b5c11067..f8ec8974 100644 --- a/modules/boursorama/backend.py +++ b/modules/boursorama/backend.py @@ -66,7 +66,8 @@ class BoursoramaBackend(BaseBackend, ICapBank): for history in self.browser.get_history(account): yield history - def iter_operations(self, account): - with self.browser: - for coming in self.browser.get_coming_operations(account): - yield coming + # TODO + #def iter_coming(self, account): + # with self.browser: + # for coming in self.browser.get_coming_operations(account): + # yield coming diff --git a/modules/boursorama/test.py b/modules/boursorama/test.py index 96266b71..667b3210 100644 --- a/modules/boursorama/test.py +++ b/modules/boursorama/test.py @@ -28,5 +28,5 @@ class BoursoramaTest(BackendTest): l = list(self.backend.iter_accounts()) if len(l) > 0: a = l[0] - list(self.backend.iter_operations(a)) + list(self.backend.iter_coming(a)) list(self.backend.iter_history(a)) diff --git a/modules/creditmutuel/backend.py b/modules/creditmutuel/backend.py index dfa24449..82ec49bc 100644 --- a/modules/creditmutuel/backend.py +++ b/modules/creditmutuel/backend.py @@ -56,7 +56,7 @@ class CreditMutuelBackend(BaseBackend, ICapBank): else: raise AccountNotFound() - def iter_operations(self, account): + def iter_coming(self, account): """ TODO Not supported yet """ return iter([]) diff --git a/modules/ing/backend.py b/modules/ing/backend.py index 5313cf79..baf1b701 100644 --- a/modules/ing/backend.py +++ b/modules/ing/backend.py @@ -75,7 +75,8 @@ class INGBackend(BaseBackend, ICapBank): for history in self.browser.get_history(account.id): yield history - def iter_operations(self, account): - with self.browser: - for coming in self.browser.get_coming_operations(account.id): - yield coming + # TODO + #def iter_coming(self, account): + # with self.browser: + # for coming in self.browser.get_coming_operations(account.id): + # yield coming diff --git a/modules/ing/test.py b/modules/ing/test.py index 39df82f9..ab420203 100644 --- a/modules/ing/test.py +++ b/modules/ing/test.py @@ -28,5 +28,5 @@ class INGTest(BackendTest): l = list(self.backend.iter_accounts()) if len(l) > 0: a = l[0] - list(self.backend.iter_operations(a)) + list(self.backend.iter_coming(a)) list(self.backend.iter_history(a)) diff --git a/modules/lcl/backend.py b/modules/lcl/backend.py index 16e30d5e..e367a740 100644 --- a/modules/lcl/backend.py +++ b/modules/lcl/backend.py @@ -59,7 +59,7 @@ class LCLBackend(BaseBackend, ICapBank): else: raise AccountNotFound() - def iter_operations(self, account): + def iter_coming(self, account): """ TODO Not supported yet """ return iter([]) diff --git a/modules/societegenerale/test.py b/modules/societegenerale/test.py index 344093dc..6c832af2 100644 --- a/modules/societegenerale/test.py +++ b/modules/societegenerale/test.py @@ -28,5 +28,5 @@ class SocieteGeneraleTest(BackendTest): self.assertTrue(len(l) > 0) #if len(l) > 0: # a = l[0] - # list(self.backend.iter_operations(a)) + # list(self.backend.iter_coming(a)) # list(self.backend.iter_history(a)) diff --git a/weboob/applications/boobank/boobank.py b/weboob/applications/boobank/boobank.py index 06edd50e..ef0786a4 100644 --- a/weboob/applications/boobank/boobank.py +++ b/weboob/applications/boobank/boobank.py @@ -238,7 +238,7 @@ class Boobank(ReplApplication): def do(backend): account = backend.get_account(id) - return backend.iter_operations(account) + return backend.iter_coming(account) for backend, operation in self.do(do, backends=names): self.format(operation)