LCL: add support for various types of accounts
In addition to the exisiting Compte Courant, the following account types are now supported: Compte de dépôts Compte d'Epargne Reported-by: Luc Didry <luc@didry.org> Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com> Tested-by: Luc Didry <luc@didry.org> Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
parent
4a1b559c5f
commit
22509971ca
2 changed files with 43 additions and 25 deletions
|
|
@ -37,7 +37,7 @@ class LCLBrowser(BaseBrowser):
|
|||
'https://particuliers.secure.lcl.fr/everest/UWBI/UWBIAccueil\?DEST=IDENTIFICATION': LoginResultPage,
|
||||
'https://particuliers.secure.lcl.fr/outil/UWSP/Synthese/accesSynthese': AccountsPage,
|
||||
'https://particuliers.secure.lcl.fr/outil/UWB2/Accueil\?DEST=INIT': FramePage,
|
||||
'https://particuliers.secure.lcl.fr/outil/UWLM/ListeMouvementsPro/accesListeMouvementsPro.*': AccountHistoryPage,
|
||||
'https://particuliers.secure.lcl.fr/outil/UWLM/ListeMouvements.*/accesListeMouvements.*': AccountHistoryPage,
|
||||
}
|
||||
|
||||
def __init__(self, agency, *args, **kwargs):
|
||||
|
|
@ -84,7 +84,7 @@ class LCLBrowser(BaseBrowser):
|
|||
def get_history(self,account):
|
||||
if not self.is_on_page(AccountHistoryPage) :
|
||||
self.location('%s://%s%s' % (self.PROTOCOL, self.DOMAIN, account.link_id))
|
||||
return self.page.get_operations()
|
||||
return self.page.get_operations(account)
|
||||
|
||||
#def get_coming_operations(self, account):
|
||||
# if not self.is_on_page(AccountComing) or self.page.account.id != account.id:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue