do not crash when there is no full list page
This commit is contained in:
parent
af8d42c279
commit
1c71ab7a76
2 changed files with 8 additions and 4 deletions
|
|
@ -210,6 +210,9 @@ class AccountsPage(BasePage):
|
|||
|
||||
return False
|
||||
|
||||
def is_short_list(self):
|
||||
return len(self.document.xpath('//script[contains(text(), "EQUIPEMENT_COMPLET")]')) > 0
|
||||
|
||||
def get_list(self):
|
||||
account_type = Account.TYPE_UNKNOWN
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue