mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 15:32:37 +02:00
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
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user