coin tests: try to make a bit more travis robust

This commit is contained in:
lisa neigut
2020-04-14 23:07:54 -05:00
committed by Rusty Russell
parent 8acbbca05d
commit 6e4b4c50f0
2 changed files with 8 additions and 3 deletions

View File

@@ -605,9 +605,6 @@ def test_withdraw_misc(node_factory, bitcoind, chainparams):
with pytest.raises(RpcError, match=r'Cannot afford transaction'):
l1.rpc.withdraw(waddr, 'all')
# Coins aren't counted as moved until we receive notice they've
# been mined.
assert account_balance(l1, 'wallet') == 11974560000
bitcoind.generate_block(1)
sync_blockheight(bitcoind, [l1])
assert account_balance(l1, 'wallet') == 0