do not try to get history of life insurance accounts

This commit is contained in:
Romain Bignon 2015-02-26 14:48:18 +01:00
commit aa794ab035
2 changed files with 7 additions and 8 deletions

View file

@ -109,7 +109,7 @@ class HelloBank(Browser):
def go_to_history_page(self,account):
if account._link_id is None:
return iter([])
raise NotImplementedError()
if not self.is_on_page(AccountsList):
self.location('/NSFR?Action=DSP_VGLOBALE')
@ -127,11 +127,9 @@ class HelloBank(Browser):
}
self.location('/udc', urllib.urlencode(data))
return None
def go_to_coming_operations_page(self,account):
if account._link_id is None:
return iter([])
raise NotImplementedError()
if not self.is_on_page(AccountsList):
self.location('/NSFR?Action=DSP_VGLOBALE')
@ -149,8 +147,6 @@ class HelloBank(Browser):
}
self.location('/udc', urllib.urlencode(data))
return None
def iter_history(self, account):
self.go_to_history_page(account)
return self.page.iter_operations()