summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2019-08-29 13:14:59 +0100
committerGitHub <noreply@github.com>2019-08-29 13:14:59 +0100
commit5a0feed7bae32aafc5b274c1480a9376a3546557 (patch)
treeaef4b1319f55d63c64cd3b8775739e77a891cd7d
parent2c6864fb251e40513f638617954c6b9454b4130a (diff)
downloadpytest-runner-5a0feed7bae32aafc5b274c1480a9376a3546557.tar.gz
add note how to securely install test deps
-rw-r--r--README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index bbec1db..1c1d80c 100644
--- a/README.rst
+++ b/README.rst
@@ -31,7 +31,7 @@ It is recommended that you:
- Remove 'pytest-runner' from your 'setup_requires', preferably removing the `setup_requires` option.
- Remove 'pytest' and any other testing requirements from 'tests_require', preferably removing the `setup_requires` option.
- Use a requirement-test.txt file to hold test dependencies
-- Invoke tests with ``pytest``
+- Invoke tests with ``pip install --require-hashes requirements-test.txt && pytest``
- Another good option is to configure a ``tox.ini`` next to your ``setup.cfg`` https://tox.readthedocs.io/en/latest/
Usage