From 16e78383e09881549b6842326fc34434c3db52a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20H=C3=B6hmann?= Date: Wed, 14 Aug 2019 16:33:07 +0200 Subject: [PATCH 1/2] Update README.rst Add setup instructions for nose to the README --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.rst b/README.rst index 49aa3b2c3a..c9826813ec 100644 --- a/README.rst +++ b/README.rst @@ -97,6 +97,11 @@ If you want to setup a development environment start like this:: virtualenv venv source venv/bin/activate pip install -r requirements.txt + +You may additionally want to set up your environment for testing, by adding nose and the additional dependencies: + + pip install nose + pip install -r tests/requirements.txt You may also want to read the blog post about development and debugging at https://www.privacyidea.org/privacyidea-development-howto/ @@ -140,6 +145,8 @@ 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 nosetests(1) with the following options: + nosetests -v --with-coverage --cover-package=privacyidea --cover-html Contributing From c3830100dc5e856653bfcd70cbf68cae90484b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20H=C3=B6hmann?= Date: Wed, 14 Aug 2019 16:35:24 +0200 Subject: [PATCH 2/2] Update README.rst Replace quotes with code blocks --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index c9826813ec..380a042554 100644 --- a/README.rst +++ b/README.rst @@ -98,7 +98,7 @@ If you want to setup a development environment start like this:: source venv/bin/activate pip install -r requirements.txt -You may additionally want to set up your environment for testing, by adding nose and the additional dependencies: +You may additionally want to set up your environment for testing, by adding nose and the additional dependencies:: pip install nose pip install -r tests/requirements.txt @@ -145,7 +145,7 @@ 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 nosetests(1) with the following options: +If you have followed the steps above to set up your environment for testing, running the test suite should be as easy as running nosetests(1) with the following options:: nosetests -v --with-coverage --cover-package=privacyidea --cover-html