[s2e] adding CapDocument

As detailed in #198, adding CapDocument to s2e module allows us to list available
PDF documents (operation statements, yearly reports) and download them.
All "employee savings banks" that are using s2e module can benefit from this new
capability : in order to do this, it's necessary to change the module definition
of all these modules and have them inherit from CapDocument (otherwise the
capability coming from the parent module -s2e- is not detected by weboob-config
update).
12 jobs from s2e_documents in 24 minutes and 51 seconds (queued for 60 minutes and 18 seconds)
Status Job ID Name Coverage
  Build
passed #15442
build:2.7

00:01:40

passed #15443
build:3

00:01:51

 
  Test
failed #15445
allowed to fail
lint:2.7

00:01:32

failed #15449
allowed to fail
lint:3

00:01:23

passed #15444
pyflakes:2.7

00:01:48

passed #15448
pyflakes:3

00:01:50

passed #15446
unittests:2.7

00:01:38

passed #15450
unittests:3

00:01:19

failed #15447
allowed to fail
unittests-modules:2.7

00:19:03

failed #15451
allowed to fail
unittests-modules:3

00:01:10

 
  Deploy
passed #15452
doc:2.7

00:01:42

passed #15453
doc:3

00:01:51

 
Name Stage Failure
failed
unittests-modules:2.7 Test
-----------------------------------------------------------------------
TOTAL 59616 31692 47%
----------------------------------------------------------------------
Ran 361 tests in 1018.411s

FAILED (SKIP=93, errors=102, failures=26)
=== Total coverage ===
MODULES COVERAGE: 47%
ERROR: Job failed: exit code 1
failed
unittests-modules:3 Test
2019-02-01 21:09:57,872:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-02-01 21:09:57,947:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-02-01 21:09:58,323:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-02-01 21:09:58,382:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
=== [ 0%] Getting file:///builds/llange/weboob/modules
=== [100%] All modules are up-to-date.
Errors building modules: dailymotion, hds, ilmatieteenlaitos, lacentrale, tapatalk, wellsfargo
Use --debug to get more information.
ERROR: Job failed: exit code 1
failed
lint:3 Test
2019-02-01 21:08:33,620:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-02-01 21:08:33,692:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-02-01 21:08:34,074:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-02-01 21:08:34,127:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
=== [ 0%] Getting file:///builds/llange/weboob/modules
=== [100%] All modules are up-to-date.
Errors building modules: dailymotion, hds, ilmatieteenlaitos, lacentrale, tapatalk, wellsfargo
Use --debug to get more information.
ERROR: Job failed: exit code 1
failed
lint:2.7 Test
=== [  0%] Getting file:///builds/llange/weboob/modules
=== [100%] All modules are up-to-date.

Modules without tests: afer, amundi, banqueaccord, bforbank, bolden, bouygues, bp, caels, chronopost, cmb, cmmc, cmso, colisprive, colissimo, creditdunordpee, edf, ensap, figgo, genericnewspaper, gmf, linebourse, n26, nalo, okc, oney, orange, ovh, pagesjaunes, peertube, redmine, relaiscolis, tapatalk, yomoni

Modules without icons: avendrealouer, bnpcards, bnppere, bolden, btpbanque, capeasi, cices, cmes, deathbycaptcha, ekwateur, ensap, erehsbc, esalia, figgo, gmf, linebourse, materielnet, meslieuxparis, nalo, onlinenet, pagesjaunes, peertube, pradoepargne, spirica, tapatalk, trainline

Modules for Python 2 only: allocine, amazonstorecard, amelipro, apivie, asana, audioaddict, bnpcards, canalplus, carrefourbanque, cci, centquatre, cityscoot, colisprive, cpasbien, creditdunordpee, dailymotion, dhl, dpd, dresdenwetter, ensap, ganassurances, gls, groupama, guerrillamail, happn, hds, ideel, ilmatieteenlaitos, ina, inrocks, ipapi, itella, journaldesfemmes, kickass, kiwibank, lacentrale, lampiris, lyricsdotcom, lyricsplanet, mailinator, mareeinfo, materielnet, meslieuxparis, minutes20, myedenred, myhabit, newsfeed, okc, onlinenet, openedx, ovh, pagesjaunes, parolesmusique, parolesnet, paypal, phpbb, pixabay, playme, poivy, pradoepargne, presseurop, prixcarburants, radiofrance, residentadvisor, rmll, sachsen, t411, tapatalk, taz, tinder, torrentz, trainline, transilien, vicsec, vicseccard, vine, virginradio, wellsfargo, yahoo
ERROR: Job failed: exit code 1