Skip to content

Commit

Permalink
Fix remarks from review
Browse files Browse the repository at this point in the history
Fixes #1875
  • Loading branch information
plettich committed Dec 3, 2019
1 parent 411e474 commit 00d3330
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.rst
Expand Up @@ -101,6 +101,8 @@ If you want to setup a development environment start like this::
source venv/bin/activate
pip install -r requirements.txt
.. _testing_env:

You may additionally want to set up your environment for testing, by adding the
additional dependencies::

Expand All @@ -120,9 +122,9 @@ Then create the database and encryption key::
./pi-manage createdb
./pi-manage create_enckey

If You plan to use the database for a longer time, You should `stamp <https://privacyidea
.readthedocs.io/en/latest/installation/upgrade.html>`_ the database to simplify
updates::
If You want to keep the development database upgradable, You should `stamp
<https://privacyidea.readthedocs.io/en/latest/installation/upgrade.html>`_ it
to simplify updates::

./pi-manage db stamp head -d migrations/

Expand All @@ -144,9 +146,9 @@ as administrator.
Run tests
=========

If you have followed the steps above to set up your environment for testing,
running the test suite should be as easy as running
`pytest <http://pytest.org/>`_ with the following options::
If you have followed the steps above to set up your
`environment for testing <#testing-env>`__, running the test suite should be as
easy as running `pytest <http://pytest.org/>`_ with the following options::

python -m pytest -v --cov=privacyidea --cov-report=html test/

Expand Down

0 comments on commit 00d3330

Please sign in to comment.