mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
[qa] test_framework: Add wrapper for stop_node
This commit is contained in:
parent
64e1bfacdc
commit
ff335e47fd
@ -20,6 +20,7 @@ from .util import (
|
|||||||
sync_blocks,
|
sync_blocks,
|
||||||
sync_mempools,
|
sync_mempools,
|
||||||
stop_nodes,
|
stop_nodes,
|
||||||
|
stop_node,
|
||||||
enable_coverage,
|
enable_coverage,
|
||||||
check_json_precision,
|
check_json_precision,
|
||||||
initialize_chain_clean,
|
initialize_chain_clean,
|
||||||
@ -48,6 +49,9 @@ class BitcoinTestFramework(object):
|
|||||||
else:
|
else:
|
||||||
initialize_chain(self.options.tmpdir, self.num_nodes, self.options.cachedir)
|
initialize_chain(self.options.tmpdir, self.num_nodes, self.options.cachedir)
|
||||||
|
|
||||||
|
def stop_node(self, num_node):
|
||||||
|
stop_node(self.nodes[num_node], num_node)
|
||||||
|
|
||||||
def setup_nodes(self):
|
def setup_nodes(self):
|
||||||
return start_nodes(self.num_nodes, self.options.tmpdir)
|
return start_nodes(self.num_nodes, self.options.tmpdir)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user