Rewrite Wells Fargo with browser2 (closes #1624)

Signed-off-by: Oleg Plakhotniuk <olegus8@gmail.com>
This commit is contained in:
Oleg Plakhotniuk 2014-09-19 22:26:15 -05:00 committed by Romain Bignon
commit 8f2b3acce6
3 changed files with 142 additions and 230 deletions

View file

@ -44,13 +44,10 @@ class WellsFargoBackend(BaseBackend, CapBank):
self.config['password'].get())
def iter_accounts(self):
with self.browser:
return self.browser.get_accounts()
return self.browser.get_accounts()
def get_account(self, id_):
with self.browser:
return self.browser.get_account(id_)
return self.browser.get_account(id_)
def iter_history(self, account):
with self.browser:
return self.browser.iter_history(account)
return self.browser.iter_history(account)