test_lightningd.py: Adapt to new help output.

This commit is contained in:
ZmnSCPxj
2018-03-02 23:32:22 +00:00
committed by Christian Decker
parent 38e94e883f
commit c03f584e19

View File

@@ -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',