Browse Source

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

travis-debug
darosior 5 years ago
committed by Christian Decker
parent
commit
6f41d18a92
  1. 2
      doc/HACKING.md

2
doc/HACKING.md

@ -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

Loading…
Cancel
Save