Skip to content

Commit

Permalink
doc: documentation update for hooks and testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahanaFarooqui committed Nov 24, 2023
1 parent 194dd2b commit 036b145
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/contribute-to-core-lightning/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion doc/developers-guide/plugin-development/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 036b145

Please sign in to comment.