diff options
author | Thomas Grainger <tagrain@gmail.com> | 2019-08-29 13:14:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-29 13:14:59 +0100 |
commit | 5a0feed7bae32aafc5b274c1480a9376a3546557 (patch) | |
tree | aef4b1319f55d63c64cd3b8775739e77a891cd7d | |
parent | 2c6864fb251e40513f638617954c6b9454b4130a (diff) | |
download | pytest-runner-5a0feed7bae32aafc5b274c1480a9376a3546557.tar.gz |
add note how to securely install test deps
-rw-r--r-- | README.rst | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |