[Tests] Move assert_start_raises_init_error method to TestNode

This commit is contained in:
John Newbery
2018-02-07 09:36:13 -05:00
committed by MarcoFalke
parent af20f9b1d4
commit 0ec08a672d
7 changed files with 44 additions and 37 deletions

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)