mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
pytest: fix a test that broke because of docstring usage
This commit is contained in:
parent
405e7477b9
commit
8fd7bba65b
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user