doc: explain how to run all the tests (#50921)

License: MIT
This commit is contained in:
Loïc Dachary 2021-02-06 15:08:36 +01:00 committed by Benjamin Dauvergne
parent 0e2117c0aa
commit 882ce5d930
1 changed files with 6 additions and 1 deletions

View File

@ -37,13 +37,18 @@ Run the tests
2. Run::
$ pg_virtualenv tox
$ JENKINS_URL=fakeurl pg_virtualenv tox
.. note::
`tests/test_ldap.py` will fail if `apparmor_status` reports that
`/usr/sbin/slapd` is in enforce mode.
.. note::
Setting `JENKINS_URL` instructs tox to run `[tox:jenkins]` instead
of the default `[tox]`.
2. Run with code coverage::
$ pg_virtualenv tox < /dev/null