mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
Add listwallets RPC test to multiwallet.py
This commit is contained in:
@ -18,6 +18,8 @@ class MultiWalletTest(BitcoinTestFramework):
|
|||||||
self.extra_args = [['-wallet=w1', '-wallet=w2', '-wallet=w3']]
|
self.extra_args = [['-wallet=w1', '-wallet=w2', '-wallet=w3']]
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
|
assert_equal(set(self.nodes[0].listwallets()), {"w1", "w2", "w3"})
|
||||||
|
|
||||||
self.stop_node(0)
|
self.stop_node(0)
|
||||||
|
|
||||||
# should not initialize if there are duplicate wallets
|
# should not initialize if there are duplicate wallets
|
||||||
|
Reference in New Issue
Block a user