Commit c6168eae authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon

[boursorama] Corrected URLs for Loans

Loans are fetched on a loan detail page and the correponding account is
removed from the accounts_list, however it is crucial to add the loan
url for other methods in the module such as iter_transfer_recipients
that start with "assert account.url" and get_invest that starts with "if
/blabla/ in account.url".

Closes: 28577@sibi
parent 239bdb34
......@@ -228,8 +228,12 @@ class BoursoramaBrowser(RetryLoginBrowser, StatesMixin):
if account.type == Account.TYPE_CARD and account.url not in valid_card_url:
elif account.type == Account.TYPE_LOAN:
# Loans details are present on another page so we create
# a Loan object and remove the corresponding Account:
loan =
loan.url = account.url
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