rename iter_operations to iter_coming

This commit is contained in:
Romain Bignon 2012-03-23 17:06:41 +01:00
commit 8f282c9ae8
10 changed files with 18 additions and 16 deletions

View file

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

View file

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