support more history

This commit is contained in:
Romain Bignon 2013-02-23 12:13:01 +01:00
commit c0e3a1d6e2
2 changed files with 26 additions and 2 deletions

View file

@ -90,6 +90,11 @@ class CaisseEpargne(BaseBrowser):
self.page.go_history(account.id)
assert self.is_on_page(IndexPage)
while 1:
assert self.is_on_page(IndexPage)
return self.page.get_history()
for tr in self.page.get_history():
yield tr
if not self.page.go_next():
return