mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
pytest: allow more elaborate bitcoin-cli override.
In particular, this lets us intercept individual commands, such as estimatesmartfee. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
3d8836c1e5
commit
5e20eedb41
@@ -88,7 +88,7 @@ def test_bitcoin_failure(node_factory, bitcoind):
|
||||
# Make sure we're not failing it between getblockhash and getblock.
|
||||
sync_blockheight(bitcoind, [l1])
|
||||
|
||||
l1.fake_bitcoind_fail(1)
|
||||
l1.fake_bitcoind_fail('exit 1')
|
||||
|
||||
# This should cause both estimatefee and getblockhash fail
|
||||
l1.daemon.wait_for_logs(['estimatesmartfee .* exited with status 1',
|
||||
|
||||
Reference in New Issue
Block a user