aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fundrawtransaction.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-03-23 23:56:31 -0400
committerJohn Newbery <john@johnnewbery.com>2017-05-31 16:59:38 -0400
commitd8c218f9c268b00ed9bb8e7ee00e980a0fa326de (patch)
tree23f699605512b7d3c643461b8939724edc3850e8 /test/functional/fundrawtransaction.py
parentc1c9a95379d364ea8ca5d3d0789e8afb1a99bb8b (diff)
downloadbitcoin-d8c218f9c268b00ed9bb8e7ee00e980a0fa326de.tar.xz
[tests] Functional tests call self.start_node(s) and self.stop_node(s)
This commit changes the individual test scripts to call the start_node(s) and stop_node(s) methods in BitcoinTestFramework.
Diffstat (limited to 'test/functional/fundrawtransaction.py')
-rwxr-xr-xtest/functional/fundrawtransaction.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/fundrawtransaction.py b/test/functional/fundrawtransaction.py
index 9ddafeb611..25bfb3f9a8 100755
--- a/test/functional/fundrawtransaction.py
+++ b/test/functional/fundrawtransaction.py
@@ -449,12 +449,12 @@ class RawTransactionsTest(BitcoinTestFramework):
############################################################
# locked wallet test
self.nodes[1].encryptwallet("test")
+ self.stop_node(0)
+ self.stop_node(2)
+ self.stop_node(3)
self.nodes.pop(1)
- stop_node(self.nodes[0], 0)
- stop_node(self.nodes[1], 2)
- stop_node(self.nodes[2], 3)
- self.nodes = start_nodes(self.num_nodes, self.options.tmpdir)
+ self.nodes = self.start_nodes(self.num_nodes, self.options.tmpdir)
# This test is not meant to test fee estimation and we'd like
# to be sure all txs are sent at a consistent desired feerate
for node in self.nodes: