qa: Use named args in some tests

This commit is contained in:
MarcoFalke committed 2018-08-29 13:06:02 -04:00
1 parent b4d3309673
commit fa782a308d
4 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -188,7 +188,7 @@ class MiningTest(BitcoinTestFramework):
# Should ask for the block from a p2p node, if they announce the header as well:
node.add_p2p_connection(P2PDataStore())
node.p2p.wait_for_getheaders(timeout=5) # Drop the first getheaders
node.p2p.send_blocks_and_test(blocks=[block], rpc=node)
node.p2p.send_blocks_and_test(blocks=[block], node=node)
# Must be active now:
assert chain_tip(block.hash, status='active', branchlen=0) in node.getchaintips()