[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 19 minutes and 51 seconds (queued for 17 minutes and 22 seconds)
latest
Status Job ID Name Coverage
  Build
passed #16573
build:2.7

00:01:33

passed #16574
build:3

00:01:19

 
  Test
failed #16576
allowed to fail
lint:2.7

00:01:29

failed #16580
allowed to fail
lint:3

00:01:17

passed #16575
pyflakes:2.7

00:01:19

passed #16579
pyflakes:3

00:01:32

passed #16577
unittests:2.7

00:01:36

passed #16581
unittests:3

00:01:23

failed #16578
allowed to fail
unittests-modules:2.7

00:11:14

failed #16582
allowed to fail
unittests-modules:3

00:01:16

 
  Deploy
passed #16583
doc:2.7

00:01:37

passed #16584
doc:3

00:01:46

 
Name Stage Failure
failed
unittests-modules:2.7 Test
-----------------------------------------------------------------------
TOTAL 61148 32697 47%
----------------------------------------------------------------------
Ran 363 tests in 570.750s

FAILED (SKIP=94, errors=99, failures=30)
=== Total coverage ===
MODULES COVERAGE: 47%
ERROR: Job failed: exit code 1
failed
unittests-modules:3 Test
2019-03-05 22:29:38,661:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-03-05 22:29:38,748:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-03-05 22:29:39,175:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-03-05 22:29:39,243:WARNING:repository:1.6: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-03-05 22:28:15,977:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-03-05 22:28:16,058:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-03-05 22:28:16,524:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-03-05 22:28:16,595:WARNING:repository:1.6: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, netfinca, okc, oney, orange, ovh, pagesjaunes, peertube, redmine, relaiscolis, sogecartenet, tapatalk, ticketscesu, yomoni

Modules without icons: avendrealouer, bnpcards, bnppere, bolden, btpbanque, capeasi, cices, cmes, deathbycaptcha, ekwateur, ensap, erehsbc, esalia, figgo, gmf, humanis, linebourse, materielnet, meslieuxparis, nalo, netfinca, onlinenet, pradoepargne, sogecartenet, tapatalk, themisbanque, ticketscesu, 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, humanis, ideel, ilmatieteenlaitos, ina, inrocks, ipapi, itella, journaldesfemmes, kickass, kiwibank, lacentrale, lampiris, lyricsdotcom, lyricsplanet, mailinator, mareeinfo, materielnet, meslieuxparis, minutes20, myedenred, myhabit, netfinca, newsfeed, okc, onlinenet, openedx, ovh, pagesjaunes, parolesmusique, parolesnet, paypal, phpbb, pixabay, playme, poivy, pradoepargne, presseurop, prixcarburants, radiofrance, residentadvisor, rmll, sachsen, sogecartenet, t411, tapatalk, taz, themisbanque, ticketscesu, tinder, torrentz, trainline, transilien, vicsec, vicseccard, vine, virginradio, wellsfargo, yahoo
ERROR: Job failed: exit code 1