Browse Source

remove stray semicolons in python tests

ppa-0.6.1
windsok 7 years ago
committed by Rusty Russell
parent
commit
fc73b1eb72
  1. 4
      tests/test_lightningd.py

4
tests/test_lightningd.py

@ -350,7 +350,7 @@ class LightningDTests(BaseLightningDTests):
assert len(outputs) == 1 and outputs[0]['q'] != 0 assert len(outputs) == 1 and outputs[0]['q'] != 0
# Check any-amount invoice # Check any-amount invoice
inv = l1.rpc.invoice("any", 'label2', 'description2'); inv = l1.rpc.invoice("any", 'label2', 'description2')
b11 = inv['bolt11'] b11 = inv['bolt11']
# Amount usually comes after currency (tb in our case), # Amount usually comes after currency (tb in our case),
# but an any-amount invoices will have no amount # but an any-amount invoices will have no amount
@ -2615,7 +2615,7 @@ class LightningDTests(BaseLightningDTests):
assert l1.rpc.listpeers()['peers'][0]['channels'][0]['msatoshi_to_us'] == 99980000 assert l1.rpc.listpeers()['peers'][0]['channels'][0]['msatoshi_to_us'] == 99980000
# Now make sure l1 is watching for unilateral closes # Now make sure l1 is watching for unilateral closes
l2.rpc.dev_fail(l1.info['id']); l2.rpc.dev_fail(l1.info['id'])
l2.daemon.wait_for_log('Failing due to dev-fail command') l2.daemon.wait_for_log('Failing due to dev-fail command')
l2.daemon.wait_for_log('sendrawtx exit 0') l2.daemon.wait_for_log('sendrawtx exit 0')
bitcoind.generate_block(1) bitcoind.generate_block(1)

Loading…
Cancel
Save