qa: Use named args in some tests

This commit is contained in:
MarcoFalke 2018-08-29 12:42:46 -04:00
parent b4d3309673
commit fa782a308d
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
4 changed files with 13 additions and 13 deletions
test/functional

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()