pyflakes fixes

This commit is contained in:
Romain Bignon 2012-01-30 15:29:23 +01:00
commit b61f89b5c9
2 changed files with 8 additions and 7 deletions

View file

@ -80,9 +80,9 @@ class SocieteGenerale(BaseBrowser):
def get_history(self, account):
raise NotImplementedError()
if not self.is_on_page(AccountHistory) or self.page.account.id != account.id:
self.location(account.link_id)
return self.page.get_operations()
#if not self.is_on_page(AccountHistory) or self.page.account.id != account.id:
# self.location(account.link_id)
#return self.page.get_operations()
def transfer(self, from_id, to_id, amount, reason=None):
raise NotImplementedError()

View file

@ -25,7 +25,8 @@ class SocieteGeneraleTest(BackendTest):
def test_societegenerale(self):
l = list(self.backend.iter_accounts())
if len(l) > 0:
a = l[0]
#list(self.backend.iter_operations(a))
#list(self.backend.iter_history(a))
self.assertTrue(len(l) > 0)
#if len(l) > 0:
# a = l[0]
# list(self.backend.iter_operations(a))
# list(self.backend.iter_history(a))