correctly detect when user is logged even if the confirm page is unknown
This commit is contained in:
parent
aeacbe45a9
commit
a9398b515a
6 changed files with 8 additions and 6 deletions
|
|
@ -41,7 +41,7 @@ class BredBrowser(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):
|
||||
return self.location('https://www.bred.fr/mylittleform?type=1')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue