[tests] Functional tests must explicitly set num_nodes
This commit is contained in:
1 parent
5448a1471d
commit
7148b74dc3
15 files changed
+31
-7
No files matched your search
@@ -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