From 5a0feed7bae32aafc5b274c1480a9376a3546557 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Thu, 29 Aug 2019 13:14:59 +0100 Subject: add note how to securely install test deps --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.rst') 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 -- cgit v1.2.1