From 036b1453f0a289fa25e66a085b87db0236ceccc3 Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Fri, 24 Nov 2023 10:44:45 -0800 Subject: [PATCH] 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 --- doc/contribute-to-core-lightning/testing.md | 2 +- doc/developers-guide/plugin-development/hooks.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/contribute-to-core-lightning/testing.md b/doc/contribute-to-core-lightning/testing.md index 272e66a86512..fa38135ee16e 100644 --- a/doc/contribute-to-core-lightning/testing.md +++ b/doc/contribute-to-core-lightning/testing.md @@ -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=` and `TIMEOUT=` can be useful for debugging subdaemons on individual tests. diff --git a/doc/developers-guide/plugin-development/hooks.md b/doc/developers-guide/plugin-development/hooks.md index 3e31959bee1d..99cb9e1fb01c 100644 --- a/doc/developers-guide/plugin-development/hooks.md +++ b/doc/developers-guide/plugin-development/hooks.md @@ -628,4 +628,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.