[Tests] Move assert_start_raises_init_error method to TestNode

This commit is contained in:
John Newbery authored and MarcoFalke committed 2018-03-18 12:29:02 -04:00
1 parent af20f9b1d4
commit 0ec08a672d
7 files changed
+44 -37

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ class WalletHDTest(BitcoinTestFramework):
# Make sure can't switch off usehd after wallet creation
self.stop_node(1)
self.assert_start_raises_init_error(1, ['-usehd=0'], 'already existing HD wallet')
self.nodes[1].assert_start_raises_init_error(['-usehd=0'], 'already existing HD wallet')
self.start_node(1)
connect_nodes_bi(self.nodes, 0, 1)