Victor Kannemacher
Committed by Romain Bignon
Builds for 1 pipeline failed in 2 minutes 24 seconds

[banquepopulaire] Update region websites

......@@ -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,
......