pyflakes fixes
This commit is contained in:
parent
97ef1f4e8c
commit
b61f89b5c9
2 changed files with 8 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue