mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-25 23:51:15 +02:00
[tests] Functional tests must explicitly set num_nodes
This commit is contained in:
@@ -77,7 +77,9 @@ class ExampleTest(BitcoinTestFramework):
|
||||
# and setup_nodes() methods to customize the test setup as required.
|
||||
|
||||
def set_test_params(self):
|
||||
"""Override any test parameters for your individual test."""
|
||||
"""Override test parameters for your individual test.
|
||||
|
||||
This method must be overridden and num_nodes must be exlicitly set."""
|
||||
self.setup_clean_chain = True
|
||||
self.num_nodes = 3
|
||||
# Use self.extra_args to change command-line arguments for the nodes
|
||||
|
Reference in New Issue
Block a user