summaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-10-11 20:18:23 -0700
committerMicah Lee <micah@micahflee.com>2018-10-11 20:18:23 -0700
commit61a98fbbc1a0b17bfe81c8fe74517ce7285c7b44 (patch)
treefe6a30879ec7ceb492e001e88b5b9c0a264fd90b /BUILD.md
parentb91f1d71bb9f3c5376b43011d948112e86eed50b (diff)
downloadonionshare-61a98fbbc1a0b17bfe81c8fe74517ce7285c7b44.tar.gz
onionshare-61a98fbbc1a0b17bfe81c8fe74517ce7285c7b44.zip
Add instructions for making sure you have pytest in your path (which you don't by default in debian stretch)
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md
index c47dc427..3061c4a7 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -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