do not raise BrowserIncorrectPassword when the website displays an useless "urgent message" on login
This commit is contained in:
parent
69505f312a
commit
8cd0dff1df
2 changed files with 14 additions and 10 deletions
|
|
@ -25,7 +25,7 @@ from weboob.tools.browser import BasePage
|
|||
from weboob.tools.capabilities.bank.transactions import FrenchTransaction as Transaction
|
||||
|
||||
|
||||
__all__ = ['HomePage', 'LoginPage', 'LoginErrorPage', 'AccountsPage', 'TransactionsPage']
|
||||
__all__ = ['HomePage', 'LoginPage', 'LoginErrorPage', 'AccountsPage', 'TransactionsPage', 'UselessPage']
|
||||
|
||||
|
||||
class HomePage(BasePage):
|
||||
|
|
@ -62,6 +62,9 @@ class LoginPage(BasePage):
|
|||
def get_result_url(self):
|
||||
return self.parser.tocleanstring(self.document.getroot())
|
||||
|
||||
class UselessPage(BasePage):
|
||||
pass
|
||||
|
||||
class LoginErrorPage(BasePage):
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue