Skip to content

Commit

Permalink
pytest: fix a test that broke because of docstring usage
Browse files Browse the repository at this point in the history
  • Loading branch information
m-schmoock committed Sep 20, 2024
1 parent 4dbdb14 commit d7c9f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def test_rpc_passthrough(node_factory):
assert(len(cmd) == 1)

# Make sure usage message is present.
assert only_one(n.rpc.help('hello')['help'])['command'] == 'hello [name]'
assert only_one(n.rpc.help('hello')['help'])['command'].startswith('hello [name]')
# While we're at it, let's check that helloworld.py is logging
# correctly via the notifications plugin->lightningd
assert n.daemon.is_in_log('Plugin helloworld.py initialized')
Expand Down

0 comments on commit d7c9f08

Please sign in to comment.