Commit deb77bbf authored by Jerome Berthier's avatar Jerome Berthier Committed by Romain Bignon

[cmes] use new browser and pages as website has changed for all children

parent 13878792
......@@ -25,13 +25,13 @@ from .pages import (
)
class CmesBrowserNew(LoginBrowser):
class CmesBrowser(LoginBrowser):
BASEURL = 'https://www.cic-epargnesalariale.fr'
login = URL('r(?P<client_space>.*)fr/identification/authentification.html', LoginPage)
login = URL(r'(?P<client_space>.*)fr/identification/authentification.html', LoginPage)
action_needed = URL('(?P<subsite>.*)(?P<client_space>.*)fr/epargnants/premiers-pas/saisir-vos-coordonnees.*',
'(?P<subsite>.*)(?P<client_space>.*)fr/epargnants/conditions-generales-d-utilisation/index.html',
action_needed = URL(r'(?P<subsite>.*)(?P<client_space>.*)fr/epargnants/premiers-pas/saisir-vos-coordonnees.*',
r'(?P<subsite>.*)(?P<client_space>.*)fr/epargnants/conditions-generales-d-utilisation/index.html',
ActionNeededPage)
accounts = URL(r'(?P<subsite>.*)(?P<client_space>.*)fr/epargnants/mon-epargne/situation-financiere-detaillee/index.html',
......
......@@ -23,7 +23,7 @@ from weboob.tools.value import ValueBackendPassword
from weboob.capabilities.bank import CapBankPockets, AccountNotFound
from weboob.capabilities.base import find_object
from .new_website.browser import CmesBrowserNew
from .browser import CmesBrowser
__all__ = ['CmesModule']
......@@ -40,7 +40,7 @@ class CmesModule(Module, CapBankPockets):
ValueBackendPassword('login', label='Identifiant', masked=False),
ValueBackendPassword('password', label='Mot de passe'))
BROWSER = CmesBrowserNew
BROWSER = CmesBrowser
def create_default_browser(self):
return self.create_browser(
......
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