[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
+3
View File
@@ -42,6 +42,9 @@ from test_framework.netutil import test_ipv6_local
RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports
class ProxyTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 4
def setup_nodes(self):
self.have_ipv6 = test_ipv6_local()
# Create two proxies on different ports