Commit 1fdeb0a5 authored by Vincent Ardisson's avatar Vincent Ardisson Committed by Vincent A

[ing] fill iban in API site

parent d5fb50c4
......@@ -303,6 +303,8 @@ class IngAPIBrowser(LoginBrowser, StatesMixin):
"""iter accounts on new website"""
self.accounts.stay_or_go()
for account in self.page.iter_accounts():
self.fill_account_iban(account)
# We get life insurance details from the API, not the old website
# If the balance is 0, the details page throws an error 500
if account.type == Account.TYPE_LIFE_INSURANCE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment