Commit a235cd0c authored by Vincent A's avatar Vincent A Committed by Florent Fourcot

docs: document "-3" flags for pyflakes and run_tests

parent 0b7da57c
......@@ -25,6 +25,11 @@ You can run these scripts to be sure your patch doesn't break anything::
$ tools/weboob_lint.sh
$ tools/run_tests.sh yourmodulename # or without yourmodulename to test everything
To aid in verifying Python 3 compatibility, also run::
$ tools/pyflakes.sh -3
$ tools/run_tests.sh -3 yourmodulename
Perhaps you should also write or fix tests. These tests are automatically run by
`Gitlab CI <https://git.weboob.org/weboob/devel/pipelines>`_ at each commit and merge requests.
......
......@@ -23,6 +23,14 @@ Then, it run every method which name starts with ``test_``.
Some environment variables are available, to use specific backend file or send the test results. Refer to `the
comments in the script <https://git.weboob.org/weboob/devel/blob/master/tools/run_tests.sh#L4-8>`_ for more infos on this.
If a module name is passed as argument, only this module will be tested. For example, to only run ``lutim`` tests::
$ tools/run_tests.sh lutim
To test with a Python 3 interpreter, set the ``-3`` flag (before all other arguments)::
$ tools/run_tests.sh -3
Write a test case
*****************
......
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