diff options
author | John Newbery <john@johnnewbery.com> | 2017-03-23 23:56:31 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-05-31 16:59:38 -0400 |
commit | d8c218f9c268b00ed9bb8e7ee00e980a0fa326de (patch) | |
tree | 23f699605512b7d3c643461b8939724edc3850e8 /test/functional/walletbackup.py | |
parent | c1c9a95379d364ea8ca5d3d0789e8afb1a99bb8b (diff) |
[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/walletbackup.py')
-rwxr-xr-x | test/functional/walletbackup.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/walletbackup.py b/test/functional/walletbackup.py index 0492132af6..a4507182a2 100755 --- a/test/functional/walletbackup.py +++ b/test/functional/walletbackup.py @@ -77,18 +77,18 @@ class WalletBackupTest(BitcoinTestFramework): # As above, this mirrors the original bash test. def start_three(self): - self.nodes[0] = start_node(0, self.options.tmpdir) - self.nodes[1] = start_node(1, self.options.tmpdir) - self.nodes[2] = start_node(2, self.options.tmpdir) + self.nodes[0] = self.start_node(0, self.options.tmpdir) + self.nodes[1] = self.start_node(1, self.options.tmpdir) + self.nodes[2] = self.start_node(2, self.options.tmpdir) connect_nodes(self.nodes[0], 3) connect_nodes(self.nodes[1], 3) connect_nodes(self.nodes[2], 3) connect_nodes(self.nodes[2], 0) def stop_three(self): - stop_node(self.nodes[0], 0) - stop_node(self.nodes[1], 1) - stop_node(self.nodes[2], 2) + self.stop_node(0) + self.stop_node(1) + self.stop_node(2) def erase_three(self): os.remove(self.options.tmpdir + "/node0/regtest/wallet.dat") |