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:
Florent 2012-04-26 19:15:38 +02:00
commit f455fbf1e6
3 changed files with 1 additions and 11 deletions

View file

@ -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