Add listwallets RPC test to multiwallet.py

Github-Pull: #11310
Rebased-From: fb1f325822
This commit is contained in:
Cristian Mircea Messel 2017-09-13 00:41:14 +03:00 committed by MarcoFalke
parent d8dd8e7356
commit b6468d3c42

View File

@ -18,6 +18,8 @@ class MultiWalletTest(BitcoinTestFramework):
self.extra_args = [['-wallet=w1', '-wallet=w2', '-wallet=w3']]
def run_test(self):
assert_equal(set(self.nodes[0].listwallets()), {"w1", "w2", "w3"})
self.stop_node(0)
# should not initialize if there are duplicate wallets