Browse Source

Merge #11310: [tests] Test listwallets RPC

fb1f32582 Add listwallets RPC test to multiwallet.py (Cristian Mircea Messel)

Pull request description:

Tree-SHA512: acf3377ac86fcc4e7fe36e3b97120f3e51b7bd94cb7136ce22e7e2043ce8ec5555c246c41f8501272aeb1e56ad16d05eb8c4eeb6acf3315a218c1ed4e5844871
0.16
MarcoFalke 7 years ago
parent
commit
96ac26e566
No known key found for this signature in database
GPG Key ID: D2EA4850E7528B25
  1. 2
      test/functional/multiwallet.py

2
test/functional/multiwallet.py

@ -18,6 +18,8 @@ class MultiWalletTest(BitcoinTestFramework): @@ -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

Loading…
Cancel
Save