From 6f41d18a922511d9d0727fc2ba03c8a261de92d0 Mon Sep 17 00:00:00 2001 From: darosior Date: Wed, 4 Mar 2020 13:56:45 +0100 Subject: [PATCH] doc: add pyln-proto to PYTHONPATH for pytest in HACKING --- doc/HACKING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/HACKING.md b/doc/HACKING.md index 92569a5c8..a391f3297 100644 --- a/doc/HACKING.md +++ b/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=` and `TIMEOUT=` can be useful for debugging