- Jan 28, 2017
-
-
- Jan 16, 2017
-
-
hydrargyrum authored
Browser1 modules will be removed during the summer of 2017.
-
- Jan 13, 2017
-
-
Phyks (Lucas Verney) authored
-
- Jan 08, 2017
-
-
Florent authored
-
Romain Bignon authored
-
Romain Bignon authored
-
- Dec 29, 2016
-
-
Florent Fourcot authored
That is probably good to create a test file, but in introduces a lot of false positive. With this patch, new module will be marked as « working » by default, but that is probably better than « not working ». Thanks to the coverage, we should be able to find this kind of non-tested modules
-
- Dec 24, 2016
-
-
Phyks (Lucas Verney) authored
-
Phyks (Lucas Verney) authored
* Sort alphabetically modules in weboob linting script * Remove btdigg module, as btdigg website is dead. * Add icons for all modules with a missing icon. * Add some unittests for LDLC.
-
Phyks (Lucas Verney) authored
This commit adds the necessary files to run the CI using Gitlab-CI. For now, it checks that Weboob builds, then runs the linting script (checking that every module as an icon and some tests + PyFlakes) and the unittests. Most of modules unittests cannot run because there is no backend configured. Some changes were needed in the pre-existing scripts: * Edit `weboob_lint` to exit with non-zero code if it finds modules without icons or tests, so that the build could fail in such a case. * Edit `run_tests.sh` to set correct exit code on failure and rework generation of XUNIT output. Also added some doc about useful environment variables. Added a way to generate an xunit output file when running modules unittests, passing a `XUNIT_OUT` env variable to `run_tests.sh` script. * Modification of `setup.cfg` and `run_tests` scripts to handle code coverage generation. The matching regex in Gitlab for the total code coverage is `TOTAL: (\d+\%\s*)$)`. I also added a script to generate a JSON module status matrix from modules unittests, ready to be sent to a [Weboob-CI](https://github.com/Phyks/weboob-ci) instance. NOTE: Required Python modules are taken from the `setup.py` script. `.ci/requirements.txt` contains the requirements to run the unittests and the CI, whereas `.ci/requirements_modules.txt` contains the specific Python modules required at runtime by Weboob modules. The latter could eventually be replaced by a proper call to `debpydep` script.
-
- Nov 14, 2016
-
-
hydrargyrum authored
Another command was run after executing nose, so the real exit code was lost.
-
- Oct 25, 2016
-
-
When `$PYTHONPATH` was not set, the `local_run.py` was setting a `$PYTHON_PATH` which was only containing the script directory. It was blocking when trying to run another Python script which was making use of Weboob API, as well as loading other non Python stdlib modules. Signed-off-by: Phyks (Lucas Verney) <phyks@phyks.me>
-
- Oct 01, 2016
-
-
Laurent Bachelier authored
So if the default value is already in unicode, we don't crash
-
- Aug 28, 2016
-
-
Romain Bignon authored
-
- Feb 17, 2016
-
-
hydrargyrum authored
-
- Feb 12, 2016
-
-
Laurent Bachelier authored
-
- Feb 11, 2016
- Jan 17, 2016
-
-
Laurent Bachelier authored
For future Python 3 compatibility.
-
- Jul 17, 2015
-
-
Laurent Bachelier authored
related to e93d724e
-
- Feb 27, 2015
-
-
Matthieu Weber authored
When installing weboob in $HOME, the weboob base modules (weboob.browser...) are installed in $HOME/.local/lib/python2.7/site-packages/... (see PEP-370). When running weboob from the source directory with tools/local_run.sh, those base modules are read from $HOME/.local instead of the source directory. Passing the "-s" option to python makes it ignore $HOME/.local and read the base modules from the source directory. Signed-off-by: Matthieu Weber <mweber+weboob@free.fr>
-
- Nov 28, 2014
- Nov 18, 2014
-
-
Pierre-Louis Bonicoli authored
For system installation, the bash auto-completion will display messages for users without home directory. Redirect stderr to null
-
- Nov 16, 2014
-
-
- Oct 17, 2014
-
-
Florent authored
-
- Oct 11, 2014
-
-
Laurent Bachelier authored
"sort" is confusing, we filter results, not order them. "sort out" would also work.
-
Romain Bignon authored
-
- Oct 10, 2014
-
-
Laurent Bachelier authored
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 . Also includes some manual reindentations (many are left after the print() changes). Manually checked, some modernizations not commited here.
-
- Oct 08, 2014
-
-
Bezleputh authored
-
- Oct 07, 2014
-
-
Romain Bignon authored
Use stream.isatty() instead.
-
- Oct 06, 2014
-
-
Romain Bignon authored
weboob.tools.browser -> weboob.deprecated.browser weboob.tools.parsers -> weboob.deprecated.browser.parsers weboob.tools.mech -> weboob.deprecated.mech weboob.browser2 -> weboob.browser weboob.core.exceptions -> weboob.exceptions Also, the new tree for browser2 is: weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.* weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser) weboob.browser.url: the URL class weboob.browser.profiles: all Profile classes weboob.browser.sessions: WeboobSession and FuturesSession weboob.browser.cookies: that's a cookies thing weboob.browser.pages: all Page and derivated classes, and Form class weboob.browser.exceptions: specific browser exceptions weboob.browser.elements: AbstractElement classes, and 'method' decorator weboob.browser.filters.*: all filters
-
Romain Bignon authored
-
Laurent Bachelier authored
-
Laurent Bachelier authored
python modernize.py --no-six -f libmodernize.fixes.fix_print -w With manual fixes as the import was put always on top.
-
Laurent Bachelier authored
-
- Oct 02, 2014
-
-
Florent authored
-
- Oct 01, 2014
-
-
Laurent Bachelier authored
This way run_tests.sh follows what local_run.sh can do.
-
- Sep 26, 2014