Commit 99c824b0 authored by Vincent Ardisson's avatar Vincent Ardisson Committed by Vincent A

[s2e] add caps to children

parent 0e817acc
......@@ -21,6 +21,7 @@
from weboob.tools.backend import AbstractModule, BackendConfig
from weboob.tools.value import ValueBackendPassword, Value
from weboob.capabilities.bank import CapBankWealth
from weboob.capabilities.bill import CapDocument
from weboob.capabilities.profile import CapProfile
from .browser import BnppereBrowser, VisiogoBrowser
......@@ -28,7 +29,7 @@ from .browser import BnppereBrowser, VisiogoBrowser
__all__ = ['BnppereModule']
class BnppereModule(AbstractModule, CapBankWealth, CapProfile):
class BnppereModule(AbstractModule, CapBankWealth, CapDocument, CapProfile):
NAME = 'bnppere'
DESCRIPTION = u'BNP Épargne Salariale'
MAINTAINER = u'Edouard Lambert'
......@@ -68,3 +69,9 @@ class BnppereModule(AbstractModule, CapBankWealth, CapProfile):
def get_profile(self):
return self.browser.get_profile()
def iter_subscription(self):
website = self.config['website'].get()
if website == 'visiogo':
raise NotImplementedError()
return super(BnppereModule, self).iter_subscription()
......@@ -20,7 +20,9 @@
from weboob.tools.backend import AbstractModule, BackendConfig
from weboob.tools.value import ValueBackendPassword, Value
from weboob.capabilities.bank import CapBank
from weboob.capabilities.bank import CapBankWealth
from weboob.capabilities.bill import CapDocument
from weboob.capabilities.profile import CapProfile
from .browser import CapeasiBrowser
......@@ -28,7 +30,7 @@ from .browser import CapeasiBrowser
__all__ = ['CapeasiModule']
class CapeasiModule(AbstractModule, CapBank):
class CapeasiModule(AbstractModule, CapBankWealth, CapDocument, CapProfile):
NAME = 'capeasi'
DESCRIPTION = u'AXA Épargne Salariale'
MAINTAINER = u'Edouard Lambert'
......
......@@ -21,7 +21,9 @@
from weboob.tools.backend import AbstractModule, BackendConfig
from weboob.tools.value import ValueBackendPassword, Value
from weboob.capabilities.bank import CapBank
from weboob.capabilities.bank import CapBankWealth
from weboob.capabilities.bill import CapDocument
from weboob.capabilities.profile import CapProfile
from .browser import CreditdunordpeeBrowser
......@@ -29,7 +31,7 @@ from .browser import CreditdunordpeeBrowser
__all__ = ['CreditdunordpeeModule']
class CreditdunordpeeModule(AbstractModule, CapBank):
class CreditdunordpeeModule(AbstractModule, CapBankWealth, CapDocument, CapProfile):
NAME = 'creditdunordpee'
DESCRIPTION = u'Crédit du Nord Épargne Salariale'
MAINTAINER = u'Ludovic LANGE'
......
......@@ -20,7 +20,9 @@
from weboob.tools.backend import AbstractModule, BackendConfig
from weboob.tools.value import ValueBackendPassword, Value
from weboob.capabilities.bank import CapBank
from weboob.capabilities.bank import CapBankWealth
from weboob.capabilities.bill import CapDocument
from weboob.capabilities.profile import CapProfile
from .browser import ErehsbcBrowser
......@@ -28,7 +30,7 @@ from .browser import ErehsbcBrowser
__all__ = ['ErehsbcModule']
class ErehsbcModule(AbstractModule, CapBank):
class ErehsbcModule(AbstractModule, CapBankWealth, CapDocument, CapProfile):
NAME = 'erehsbc'
DESCRIPTION = u'HSBC Épargne Salariale'
MAINTAINER = u'Edouard Lambert'
......
......@@ -20,7 +20,9 @@
from weboob.tools.backend import AbstractModule, BackendConfig
from weboob.tools.value import ValueBackendPassword, Value
from weboob.capabilities.bank import CapBank
from weboob.capabilities.bank import CapBankWealth
from weboob.capabilities.bill import CapDocument
from weboob.capabilities.profile import CapProfile
from .browser import EsaliaBrowser
......@@ -28,7 +30,7 @@ from .browser import EsaliaBrowser
__all__ = ['EsaliaModule']
class EsaliaModule(AbstractModule, CapBank):
class EsaliaModule(AbstractModule, CapBankWealth, CapDocument, CapProfile):
NAME = 'esalia'
DESCRIPTION = u'Société Générale Épargne Salariale'
MAINTAINER = u'Edouard Lambert'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment