[tests] Functional tests must explicitly set num_nodes

Github-Pull: #11121
Rebased-From: 7148b74dc3
This commit is contained in:
John Newbery
2017-08-24 11:11:56 -04:00
committed by MarcoFalke
parent 801d2ae924
commit 82bf6fc6d4
15 changed files with 31 additions and 7 deletions

View File

@@ -8,6 +8,8 @@ from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
class TxnMallTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 4
def add_options(self, parser):
parser.add_option("--mineblock", dest="mine_block", default=False, action="store_true",