[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

View File

@@ -14,6 +14,9 @@ from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import assert_equal
class GetChainTipsTest (BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 4
def run_test (self):
tips = self.nodes[0].getchaintips ()
assert_equal (len (tips), 1)