aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_compactblocks.py
diff options
context:
space:
mode:
authorSergi Delgado Segura <sergi.delgado.s@gmail.com>2024-03-27 13:35:53 +0100
committerSergi Delgado Segura <sergi.delgado.s@gmail.com>2024-03-27 15:33:07 +0100
commit61560d5e939034e1a94d95cdc5c498095ab4fddb (patch)
treeb5a997355257c6425ca8c4f113ed26c2b135b1cf /test/functional/p2p_compactblocks.py
parent19b968f743ca666032371ab2424feaffd0c6043e (diff)
test: makes timeout a forced named argument in tests methods that use it
This makes calls to such methods more explicit and less error prone
Diffstat (limited to 'test/functional/p2p_compactblocks.py')
-rwxr-xr-xtest/functional/p2p_compactblocks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_compactblocks.py b/test/functional/p2p_compactblocks.py
index d6c06fdeed..0950579580 100755
--- a/test/functional/p2p_compactblocks.py
+++ b/test/functional/p2p_compactblocks.py
@@ -139,7 +139,7 @@ class TestP2PConn(P2PInterface):
This is used when we want to send a message into the node that we expect
will get us disconnected, eg an invalid block."""
self.send_message(message)
- self.wait_for_disconnect(timeout)
+ self.wait_for_disconnect(timeout=timeout)
class CompactBlocksTest(BitcoinTestFramework):
def set_test_params(self):