doc: add pyln-proto to PYTHONPATH for pytest in HACKING

This commit is contained in:
darosior 2020-03-04 13:56:45 +01:00 committed by Christian Decker
parent 6c50185865
commit 6f41d18a92
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ There are three kinds of tests:
* **blackbox tests** - These tests setup a mini-regtest environment and test
lightningd as a whole. They can be run individually:
`PYTHONPATH=contrib/pylightning:contrib/pyln-client:contrib/pyln-testing py.test -v tests/`
`PYTHONPATH=contrib/pylightning:contrib/pyln-client:contrib/pyln-testing:contrib/pyln-proto py.test -v tests/`
You can also append `-k TESTNAME` to run a single test. Environment variables
`DEBUG_SUBD=<subdaemon>` and `TIMEOUT=<seconds>` can be useful for debugging