mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-20 13:54:36 +01:00
doc: documentation update for hooks and testing
Changelog-None. Based upon suggestions: https://dash.readme.com/project/blockstream-core-lightning/v1/suggested/update/655c70ab0077d2003b3b657b https://dash.readme.com/project/blockstream-core-lightning/v1/suggested/update/655c8b912adff80063e82be8
This commit is contained in:
parent
151a431628
commit
b250bca429
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ There are four 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:contrib/pyln-proto py.test -v tests/`
|
||||
`PYTHONPATH=contrib/pyln-client:contrib/pyln-testing:contrib/pyln-proto:contrib/pyln-grpc-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 subdaemons on individual tests.
|
||||
|
||||
|
|
|
@ -634,4 +634,4 @@ The payload for a call follows this format:
|
|||
|
||||
All fields shown here are optional.
|
||||
|
||||
We suggest just returning `{'result': 'continue'}`; any other result will cause the message not to be handed to any other hooks.
|
||||
We suggest just returning `{"result": "continue"}`; any other result will cause the message not to be handed to any other hooks.
|
||||
|
|
Loading…
Add table
Reference in a new issue