aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-09-12 23:56:01 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-09-12 23:56:04 +0200
commit96ac26e56627f0c24213fcd3a1cce9fc95f1f661 (patch)
treef788d4520740474fd2235964360646c6e221646d
parentcce94c518a46b7b0006f984bbe4d69e8749182d2 (diff)
parentfb1f3258225a7052f4fc9e3f2accc3811c53e221 (diff)
downloadbitcoin-96ac26e56627f0c24213fcd3a1cce9fc95f1f661.tar.xz
Merge #11310: [tests] Test listwallets RPC
fb1f32582 Add listwallets RPC test to multiwallet.py (Cristian Mircea Messel) Pull request description: Tree-SHA512: acf3377ac86fcc4e7fe36e3b97120f3e51b7bd94cb7136ce22e7e2043ce8ec5555c246c41f8501272aeb1e56ad16d05eb8c4eeb6acf3315a218c1ed4e5844871
-rwxr-xr-xtest/functional/multiwallet.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/multiwallet.py b/test/functional/multiwallet.py
index e5453e9aad..b4e15a3322 100755
--- a/test/functional/multiwallet.py
+++ b/test/functional/multiwallet.py
@@ -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