aboutsummaryrefslogtreecommitdiff
path: root/test/functional/importmulti.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/importmulti.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/importmulti.py')
-rwxr-xr-xtest/functional/importmulti.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/importmulti.py b/test/functional/importmulti.py
index 9e3491c428..e83e85de13 100755
--- a/test/functional/importmulti.py
+++ b/test/functional/importmulti.py
@@ -428,8 +428,8 @@ class ImportMultiTest (BitcoinTestFramework):
# restart nodes to check for proper serialization/deserialization of watch only address
- stop_nodes(self.nodes)
- self.nodes = start_nodes(2, self.options.tmpdir)
+ self.stop_nodes()
+ self.nodes = self.start_nodes(2, self.options.tmpdir)
address_assert = self.nodes[1].validateaddress(watchonly_address)
assert_equal(address_assert['iswatchonly'], True)
assert_equal(address_assert['ismine'], False)