Add instructions for making sure you have pytest in your path (which you don't by default in debian stretch)

This commit is contained in:
Micah Lee 2018-10-11 20:18:23 -07:00
parent b91f1d71bb
commit 61a98fbbc1
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -149,6 +149,12 @@ OnionShare includes PyTest unit tests. To run the tests, first install some depe
pip3 install -r install/requirements-tests.txt
```
You must have `pytest` in your path point to python 3's pytest. If necessary, you might need to make a symlink, like:
```sh
ln -s /usr/bin/pytest-3 /usr/local/bin/pytest
```
If you'd like to run the CLI-based tests that Travis runs:
```sh