Commit 03df6cff authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Vincent A

[cragr] Fix BGPI redirection by handling other URL

Sometimes the URL is slightly different, we must handle '_jcr_' and
parent f01823af
......@@ -119,7 +119,7 @@ class CreditAgricoleBrowser(LoginBrowser, StatesMixin):
r'', PredicaInvestmentsPage
bgpi_redirection = URL(r'(?P<space>[\w-]+)/operations/moco/bgpi/jcr:content.init.html', BgpiRedirectionPage)
bgpi_redirection = URL(r'(?P<space>[\w-]+)/operations/moco/bgpi/_?jcr[:_]content.init.html', BgpiRedirectionPage)
bgpi_accounts = URL(r'', BgpiAccountsPage)
bgpi_investments = URL(r'', BgpiInvestmentsPage)
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