aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework/test_framework.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-07-08 09:57:46 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-07-08 09:58:08 +0200
commitbb2646aea0a8094eb89dfe859635e75794bbea54 (patch)
tree869ee13b02c1335ffa30c1e77ec0b9eb87d1a7ea /qa/rpc-tests/test_framework/test_framework.py
parent6ae20df823d17633c37160e3c23a8e252d57ffe4 (diff)
parentfade505e8b0fa37e2d99bf94259250271a9604d4 (diff)
downloadbitcoin-bb2646aea0a8094eb89dfe859635e75794bbea54.tar.xz
Merge #8309: [qa] Add wallet-hd test
fade505 [qa] Add wallet-hd test (MarcoFalke) fa9976b [qa] test_framework: Add wrapper for stop_node (MarcoFalke)
Diffstat (limited to 'qa/rpc-tests/test_framework/test_framework.py')
-rwxr-xr-xqa/rpc-tests/test_framework/test_framework.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/rpc-tests/test_framework/test_framework.py b/qa/rpc-tests/test_framework/test_framework.py
index 30e8b5755d..0dfece6b27 100755
--- a/qa/rpc-tests/test_framework/test_framework.py
+++ b/qa/rpc-tests/test_framework/test_framework.py
@@ -20,6 +20,7 @@ from .util import (
sync_blocks,
sync_mempools,
stop_nodes,
+ stop_node,
wait_bitcoinds,
enable_coverage,
check_json_precision,
@@ -49,6 +50,9 @@ class BitcoinTestFramework(object):
else:
initialize_chain(self.options.tmpdir, self.num_nodes)
+ def stop_node(self, num_node):
+ stop_node(self.nodes[num_node], num_node)
+
def setup_nodes(self):
return start_nodes(self.num_nodes, self.options.tmpdir)