correctly handle case that we don't support the history page of an account
This commit is contained in:
parent
5f9536f61d
commit
732be99bfb
1 changed files with 3 additions and 0 deletions
|
|
@ -82,6 +82,9 @@ class Boursorama(BaseBrowser):
|
||||||
|
|
||||||
def get_history(self, account):
|
def get_history(self, account):
|
||||||
self.location(account._link_id)
|
self.location(account._link_id)
|
||||||
|
if not self.is_on_page(AccountHistory):
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
||||||
operations = self.page.get_operations()
|
operations = self.page.get_operations()
|
||||||
# load last month as well
|
# load last month as well
|
||||||
target = date.today() - relativedelta(months=1)
|
target = date.today() - relativedelta(months=1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue