fix 404 on history and now support "compte livret"
This commit is contained in:
parent
f73f671cbe
commit
98b70d1eac
1 changed files with 2 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class CarrefourBanque(LoginBrowser):
|
||||||
|
|
||||||
login = URL('/espace-client/connexion', LoginPage)
|
login = URL('/espace-client/connexion', LoginPage)
|
||||||
home = URL('/espace-client$', HomePage)
|
home = URL('/espace-client$', HomePage)
|
||||||
transactions = URL('/espace-client/carte-credit/solde-dernieres-operations.*', TransactionsPage)
|
transactions = URL('/espace-client/(?P<account>.*)/solde-dernieres-operations.*', TransactionsPage)
|
||||||
|
|
||||||
def do_login(self):
|
def do_login(self):
|
||||||
"""
|
"""
|
||||||
|
|
@ -56,6 +56,7 @@ class CarrefourBanque(LoginBrowser):
|
||||||
|
|
||||||
@need_login
|
@need_login
|
||||||
def iter_history(self, account):
|
def iter_history(self, account):
|
||||||
|
self.home.stay_or_go()
|
||||||
self.location(account._link)
|
self.location(account._link)
|
||||||
|
|
||||||
assert self.transactions.is_here()
|
assert self.transactions.is_here()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue