[backends.aum] little fixes

This commit is contained in:
Romain Bignon 2010-04-03 17:34:09 +02:00
commit a045024e80
4 changed files with 15 additions and 11 deletions

View file

@ -84,13 +84,10 @@ class PageBase(BasePage):
return '?'
def nb_new_mails(self):
return self.__get_indicator(u'mailsCounter')
def nb_new_baskets(self):
return self.__get_indicator(u'flashsCounter')
def nb_new_visites(self):
return self.__get_indicator(u'visitesCounter')

View file

@ -77,6 +77,9 @@ class RedirectPage(PageBase):
class BanPage(PageBase):
pass
class ShopPage(PageBase):
pass
class ErrPage(PageBase):
def loaded(self):
raise BrowserIncorrectPassword()
raise BrowserIncorrectPassword('Incorrect login/password')