mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-02 18:35:00 +01:00
doc: add pyln-proto to PYTHONPATH for pytest in HACKING
This commit is contained in:
parent
6c50185865
commit
6f41d18a92
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ There are three kinds of tests:
|
||||||
* **blackbox tests** - These tests setup a mini-regtest environment and test
|
* **blackbox tests** - These tests setup a mini-regtest environment and test
|
||||||
lightningd as a whole. They can be run individually:
|
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
|
You can also append `-k TESTNAME` to run a single test. Environment variables
|
||||||
`DEBUG_SUBD=<subdaemon>` and `TIMEOUT=<seconds>` can be useful for debugging
|
`DEBUG_SUBD=<subdaemon>` and `TIMEOUT=<seconds>` can be useful for debugging
|
||||||
|
|
Loading…
Add table
Reference in a new issue