File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2121 import urlparse
2222
2323class HTTPBasicsTest (BitcoinTestFramework ):
24+ def setup_nodes (self ):
25+ return start_nodes (4 , self .options .tmpdir , extra_args = [['-rpckeepalive' ]]* 4 )
26+
2427 def run_test (self ):
2528
2629 #################################################
Original file line number Diff line number Diff line change @@ -33,8 +33,11 @@ def setup_chain(self):
3333 print ("Initializing test directory " + self .options .tmpdir )
3434 initialize_chain (self .options .tmpdir )
3535
36+ def setup_nodes (self ):
37+ return start_nodes (4 , self .options .tmpdir )
38+
3639 def setup_network (self , split = False ):
37- self .nodes = start_nodes ( 4 , self .options . tmpdir )
40+ self .nodes = self .setup_nodes ( )
3841
3942 # Connect the nodes as a "chain". This allows us
4043 # to split the network between nodes 1 and 2 to get
You can’t perform that action at this time.
0 commit comments