aboutsummaryrefslogtreecommitdiff
path: root/test/functional/example_test.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-08-24 11:11:56 -0400
committerJohn Newbery <john@johnnewbery.com>2017-09-01 12:25:55 -0400
commit7148b74dc39110f53c665b94fa9d994c6ad6dc1c (patch)
treeddece712dcd461829ca3b5133b47a14cb945c96a /test/functional/example_test.py
parent5448a1471d6fc638a2220ea5a2f3782172efe14c (diff)
[tests] Functional tests must explicitly set num_nodes
Diffstat (limited to 'test/functional/example_test.py')
-rwxr-xr-xtest/functional/example_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/example_test.py b/test/functional/example_test.py
index 044ef36cfc..43f3415c8c 100755
--- a/test/functional/example_test.py
+++ b/test/functional/example_test.py
@@ -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