Skip to content

Commit 96ac26e

Browse files
author
MarcoFalke
committed
Merge #11310: [tests] Test listwallets RPC
fb1f325 Add listwallets RPC test to multiwallet.py (Cristian Mircea Messel) Pull request description: Tree-SHA512: acf3377ac86fcc4e7fe36e3b97120f3e51b7bd94cb7136ce22e7e2043ce8ec5555c246c41f8501272aeb1e56ad16d05eb8c4eeb6acf3315a218c1ed4e5844871
2 parents cce94c5 + fb1f325 commit 96ac26e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/multiwallet.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ def set_test_params(self):
1818
self.extra_args = [['-wallet=w1', '-wallet=w2', '-wallet=w3']]
1919

2020
def run_test(self):
21+
assert_equal(set(self.nodes[0].listwallets()), {"w1", "w2", "w3"})
22+
2123
self.stop_node(0)
2224

2325
# should not initialize if there are duplicate wallets

0 commit comments

Comments
 (0)