Skip to content

Commit

Permalink
Merge bitcoin#11310: [tests] Test listwallets RPC
Browse files Browse the repository at this point in the history
fb1f325 Add listwallets RPC test to multiwallet.py (Cristian Mircea Messel)

Pull request description:

Tree-SHA512: acf3377ac86fcc4e7fe36e3b97120f3e51b7bd94cb7136ce22e7e2043ce8ec5555c246c41f8501272aeb1e56ad16d05eb8c4eeb6acf3315a218c1ed4e5844871
  • Loading branch information
MarcoFalke committed Sep 12, 2017
2 parents cce94c5 + fb1f325 commit 96ac26e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/multiwallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def set_test_params(self):
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
Expand Down

0 comments on commit 96ac26e

Please sign in to comment.