mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-09 10:52:40 +02:00
test: refactor functional tests to use restart_node
This commit is contained in:
@@ -110,9 +110,7 @@ class AvoidReuseTest(BitcoinTestFramework):
|
||||
assert_equal(self.nodes[0].getwalletinfo()["avoid_reuse"], False)
|
||||
assert_equal(self.nodes[1].getwalletinfo()["avoid_reuse"], True)
|
||||
|
||||
# Stop and restart node 1
|
||||
self.stop_node(1)
|
||||
self.start_node(1)
|
||||
self.restart_node(1)
|
||||
connect_nodes(self.nodes[0], 1)
|
||||
|
||||
# Flags should still be node1.avoid_reuse=false, node2.avoid_reuse=true
|
||||
|
Reference in New Issue
Block a user