Small cleanup
1) Remove the todo, ING coming doesn't provide usefull information 2) yield account instead to create a list 3) remove coming in the test (not implemented)
This commit is contained in:
parent
996f1e0c22
commit
f455fbf1e6
3 changed files with 1 additions and 11 deletions
|
|
@ -34,7 +34,6 @@ class AccountsList(BasePage):
|
|||
pass
|
||||
|
||||
def get_list(self):
|
||||
l = []
|
||||
ids = []
|
||||
for td in self.document.xpath('.//td[@nowrap="nowrap"]'):
|
||||
account = Account()
|
||||
|
|
@ -50,6 +49,4 @@ class AccountsList(BasePage):
|
|||
account.balance = Decimal(linkbis.text.replace('.', '').\
|
||||
replace(' ', '').replace(',', '.'))
|
||||
account.coming = NotAvailable
|
||||
l.append(account)
|
||||
|
||||
return l
|
||||
yield account
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue