mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-04 04:32:20 +02:00
test: refactor functional tests to use restart_node
This commit is contained in:
@ -190,8 +190,7 @@ class WalletDumpTest(BitcoinTestFramework):
|
||||
assert_raises_rpc_error(-8, "already exists", lambda: self.nodes[0].dumpwallet(wallet_enc_dump))
|
||||
|
||||
# Restart node with new wallet, and test importwallet
|
||||
self.stop_node(0)
|
||||
self.start_node(0, ['-wallet=w2'])
|
||||
self.restart_node(0, ['-wallet=w2'])
|
||||
|
||||
# Make sure the address is not IsMine before import
|
||||
result = self.nodes[0].getaddressinfo(multisig_addr)
|
||||
|
Reference in New Issue
Block a user