diff options
author | Adam Hupp <adam@hupp.org> | 2022-10-24 08:19:55 -0700 |
---|---|---|
committer | Adam Hupp <adam@hupp.org> | 2022-10-24 08:32:31 -0700 |
commit | 05fde96b7c7feac611c1f2e7eb6bcf4b9ff933b9 (patch) | |
tree | 6c9e940078da9dad8ca8b8b0ef0b24db0cbf37f9 | |
parent | ea2150d2a739dff8f182c32252c601b350f01f2c (diff) | |
download | python-magic-05fde96b7c7feac611c1f2e7eb6bcf4b9ff933b9.tar.gz |
further update README for test running changes
-rw-r--r-- | README.md | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -101,22 +101,23 @@ triage it. ## Running the tests -To run the tests across a variety of linux distributions (depends on Docker): +We use the `tox` test runner which can be installed with `python -m pip install tox`. + +To run tests locally across all available python versions: ``` -./test_docker.sh +python -m tox ``` -To run tests locally across all available python versions: +Or to run just against a single version: ``` -./test/run.py +python -m tox py ``` - -To run against a specific python version: +To run the tests across a variety of linux distributions (depends on Docker): ``` -LC_ALL=en_US.UTF-8 python3 test/python_magic_test.py +./test/run_all_docker_test.sh ``` ## libmagic python API compatibility |