Commit 77730349 authored by Victor Kannemacher's avatar Victor Kannemacher Committed by Romain Bignon

[banquepopulaire] Update region websites

parent bce3c8fe
Pipeline #1734 failed with stages
in 2 minutes and 24 seconds
......@@ -139,7 +139,7 @@ class BanquePopulaire(LoginBrowser):
redirect_page = URL(r'https://[^/]+/portailinternet/_layouts/Ibp.Cyi.Layouts/RedirectSegment.aspx.*', RedirectPage)
home_page = URL(r'https://[^/]+/portailinternet/Catalogue/Segments/.*.aspx(\?vary=(?P<vary>.*))?',
r'https://[^/]+/portailinternet/Pages/.*.aspx\?vary=(?P<vary>.*)',
r'https://[^/]+/portailinternet/Pages/default.aspx',
r'https://[^/]+/portailinternet/Pages/[dD]efault.aspx',
r'https://[^/]+/portailinternet/Transactionnel/Pages/CyberIntegrationPage.aspx',
r'https://[^/]+/cyber/internet/ShowPortal.do\?token=.*',
HomePage)
......
......@@ -45,6 +45,7 @@ class BanquePopulaireModule(Module, CapBankWealth, CapContact, CapProfile):
'www.ibps.bpalc.banquepopulaire.fr' : u'Alsace Lorraine Champagne',
'www.ibps.bpaca.banquepopulaire.fr': u'Aquitaine Centre atlantique',
'www.ibps.atlantique.banquepopulaire.fr': u'Atlantique',
'www.ibps.bpgo.banquepopulaire.fr': u'Grand Ouest',
'www.ibps.loirelyonnais.banquepopulaire.fr': u'Auvergne Rhône Alpes',
'www.ibps.bpaura.banquepopulaire.fr': u'Auvergne Rhône Alpes',
'www.ibps.banquedesavoie.banquepopulaire.fr': u'Banque de Savoie',
......@@ -74,6 +75,8 @@ class BanquePopulaireModule(Module, CapBankWealth, CapContact, CapProfile):
('loirelyonnais', 'bpaura'),
('alpes', 'bpaura'),
('massifcentral', 'bpaura'),
('atlantique', 'bpgo'),
('ouest', 'bpgo'),
]
website = reduce(lambda a, kv: a.replace(*kv), repls, self.config['website'].get())
return self.create_browser(website,
......
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