mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
test_lightningd.py: Adapt to new help output.
This commit is contained in:
committed by
Christian Decker
parent
38e94e883f
commit
c03f584e19
@@ -3645,8 +3645,7 @@ class LightningDTests(BaseLightningDTests):
|
|||||||
.format(l1.daemon.lightning_dir),
|
.format(l1.daemon.lightning_dir),
|
||||||
'help']).decode('utf-8')
|
'help']).decode('utf-8')
|
||||||
# Test some known output.
|
# Test some known output.
|
||||||
assert 'command=help' in out
|
assert 'help\n List available commands, or give verbose help on one command' in out
|
||||||
assert 'description=List available commands, or give verbose help on one command' in out
|
|
||||||
|
|
||||||
# Test JSON output.
|
# Test JSON output.
|
||||||
out = subprocess.check_output(['cli/lightning-cli',
|
out = subprocess.check_output(['cli/lightning-cli',
|
||||||
|
|||||||
Reference in New Issue
Block a user