Browse Source

test_lightningd.py: Adapt to new help output.

ppa-0.6.1
ZmnSCPxj 7 years ago
committed by Christian Decker
parent
commit
c03f584e19
  1. 3
      tests/test_lightningd.py

3
tests/test_lightningd.py

@ -3645,8 +3645,7 @@ class LightningDTests(BaseLightningDTests):
.format(l1.daemon.lightning_dir),
'help']).decode('utf-8')
# Test some known output.
assert 'command=help' in out
assert 'description=List available commands, or give verbose help on one command' in out
assert 'help\n List available commands, or give verbose help on one command' in out
# Test JSON output.
out = subprocess.check_output(['cli/lightning-cli',

Loading…
Cancel
Save