parent
27c3efc615
commit
0e2117c0aa
|
@ -33,10 +33,10 @@ Run the tests
|
|||
$ echo layout python3 > authentic/.envrc
|
||||
$ direnv allow authentic
|
||||
$ cd authentic
|
||||
$ pip install tox
|
||||
|
||||
2. Run::
|
||||
|
||||
$ pip install tox
|
||||
$ pg_virtualenv tox
|
||||
|
||||
.. note::
|
||||
|
@ -44,6 +44,16 @@ Run the tests
|
|||
`tests/test_ldap.py` will fail if `apparmor_status` reports that
|
||||
`/usr/sbin/slapd` is in enforce mode.
|
||||
|
||||
2. Run with code coverage::
|
||||
|
||||
$ pg_virtualenv tox < /dev/null
|
||||
$ firefox htmlcov/index.html
|
||||
|
||||
.. note::
|
||||
|
||||
When running from an interactive shell `< /dev/null` unsets
|
||||
the `tty` tox sub-type and defines the `COVERAGE` variable.
|
||||
|
||||
Build the documentation
|
||||
=======================
|
||||
|
||||
|
|
Loading…
Reference in New Issue