[tests] Functional tests must explicitly set num_nodes

This commit is contained in:
John Newbery 2017-08-24 11:11:56 -04:00
parent 5448a1471d
commit 7148b74dc3
15 changed files with 31 additions and 7 deletions
test/functional

View file

@ -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