Add a helper method to generate TableElement code

12 jobs from master in 17 minutes and 51 seconds (queued for 1 minute and 1 second)
Status Job ID Name Coverage
  Build
passed #16087
build:2.7

00:01:11

passed #16088
build:3

00:01:22

 
  Test
failed #16090
allowed to fail
lint:2.7

00:01:18

failed #16094
allowed to fail
lint:3

00:01:17

passed #16089
pyflakes:2.7

00:01:33

passed #16093
pyflakes:3

00:01:38

passed #16091
unittests:2.7

00:01:16

40.0%
passed #16095
unittests:3

00:01:09

41.0%
failed #16092
allowed to fail
unittests-modules:2.7

00:13:50

47.0%
failed #16096
allowed to fail
unittests-modules:3

00:01:10

 
  Deploy
passed #16097
doc:2.7

00:01:01

passed #16098
doc:3

00:01:11

 
Name Stage Failure
failed
unittests-modules:2.7 Test
Ran 363 tests in 721.749s

FAILED (SKIP=94, errors=99, failures=29)
=== Total coverage ===
MODULES COVERAGE: 47%
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5175 0 0 100 5175 0 5086 0:00:01 0:00:01 --:--:-- 5088 100 5175 0 0 100 5175 0 2563 0:00:02 0:00:02 --:--:-- 2564 100 5175 0 0 100 5175 0 1714 0:00:03 0:00:03 --:--:-- 1714 100 5175 0 0 100 5175 0 1287 0:00:04 0:00:04 --:--:-- 1287 100 5177 0 2 100 5175 0 1160 0:00:04 0:00:04 --:--:-- 1160
OKERROR: Job failed: exit code 1
failed
lint:3 Test
2019-02-25 14:10:59,953: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-25 14:11:00,033:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-02-25 14:11:00,540:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-02-25 14:11:00,606:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
Errors building modules: dailymotion, hds, ilmatieteenlaitos, lacentrale, tapatalk, wellsfargo
Use --debug to get more information.
=== [ 0%] Getting file:///builds/weboob/weboob/modules
=== [100%] All modules are up-to-date.
ERROR: Job failed: exit code 1
failed
lint:2.7 Test
=== [  0%] Getting file:///builds/weboob/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, 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, pagesjaunes, peertube, pradoepargne, sogecartenet, spirica, tapatalk, themisbanque, 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, tinder, torrentz, trainline, transilien, vicsec, vicseccard, vine, virginradio, wellsfargo, yahoo
ERROR: Job failed: exit code 1
failed
unittests-modules:3 Test
2019-02-25 14:12:24,361: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-25 14:12:24,436:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-02-25 14:12:24,860:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-02-25 14:12:24,930:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
=== [ 0%] Getting file:///builds/weboob/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