aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-05-08 21:09:07 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-05-08 21:05:40 +0200
commitfa7396d6d9adafdf1118f773a7f5cad04f31f734 (patch)
tree7846f90f084b59a3ba691502d98e9ef21c83febf
parent23d78c4dd01bc74ba35db3e3df95280f6f1b2e22 (diff)
qa: disablewallet: Check that wallet is really disabled
-rwxr-xr-xtest/functional/disablewallet.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/disablewallet.py b/test/functional/disablewallet.py
index 3f77a1828d..d344513414 100755
--- a/test/functional/disablewallet.py
+++ b/test/functional/disablewallet.py
@@ -21,6 +21,8 @@ class DisableWalletTest (BitcoinTestFramework):
self.extra_args = [["-disablewallet"]]
def run_test (self):
+ # Make sure wallet is really disabled
+ assert_raises_jsonrpc(-32601, 'Method not found', self.nodes[0].getwalletinfo)
x = self.nodes[0].validateaddress('3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy')
assert(x['isvalid'] == False)
x = self.nodes[0].validateaddress('mneYUmWYsuk7kySiURxCi3AGxrAqZxLgPZ')