Some manual style fixes

This commit is contained in:
Laurent Bachelier 2013-03-15 22:31:33 +01:00
commit fbe0fb8d52
10 changed files with 18 additions and 14 deletions

View file

@ -58,7 +58,7 @@ class AloesBrowser(BaseBrowser):
self.location('%s://%s/index.aspx'
% (self.PROTOCOL, self.BASEURL),
no_login=True)
if not self.page.login(self.username, self.password) or \
if not self.page.login(self.username, self.password) or \
not self.is_logged() or \
(self.is_on_page(LoginPage) and self.page.is_error()):
raise BrowserIncorrectPassword()