correctly raise instance of BrowserIncorrectPassword
This commit is contained in:
parent
e3af63f8d9
commit
708ea7b06f
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class LoginPage(HTMLPage):
|
|||
def on_load(self):
|
||||
# Yes, I know... In the Wild Wild Web, nobody respects nothing
|
||||
if self.response.status_code == 500:
|
||||
raise BrowserIncorrectPassword
|
||||
raise BrowserIncorrectPassword()
|
||||
|
||||
def login(self, username, password):
|
||||
form = self.get_form(name='formIdentification')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue