correctly detect when user is logged even if the confirm page is unknown

This commit is contained in:
Romain Bignon 2012-08-24 11:07:31 +02:00
commit a9398b515a
6 changed files with 8 additions and 6 deletions

View file

@ -36,7 +36,7 @@ class CaisseEpargne(BaseBrowser):
}
def is_logged(self):
return self.page and not self.is_on_page(LoginPage)
return not self.is_on_page(LoginPage)
def home(self):
self.location('https://www.caisse-epargne.fr/particuliers/ind_pauthpopup.aspx?mar=101&reg=&fctpopup=auth&cv=0')