From c42e5933f9f3f9ee72b04faf87c0b4769ebbe258 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Thu, 11 Oct 2018 20:18:23 -0700 Subject: [PATCH] Add instructions for making sure you have pytest in your path (which you don't by default in debian stretch) --- BUILD.md | 6 ++++++ 1 file changed, 6 insertions(+) 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