From 708ea7b06f2d0178a50737e4905b51079aa218e0 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 22 Oct 2014 15:27:41 +0200 Subject: [PATCH] correctly raise instance of BrowserIncorrectPassword --- modules/cmso/web/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cmso/web/pages.py b/modules/cmso/web/pages.py index 162c44e8..52f96057 100644 --- a/modules/cmso/web/pages.py +++ b/modules/cmso/web/pages.py @@ -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')