aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-05-09 23:15:15 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-05-09 23:15:18 +0200
commitf6241b3e420e19f3f0507cbbc872fe9218916a02 (patch)
tree33a1624d2de7e75f789de07a515703dde65f4c31 /test
parent7ee523604851af62c0a47c07ee023a8710ef32f7 (diff)
parentfa7396d6d9adafdf1118f773a7f5cad04f31f734 (diff)
Merge #10361: qa: disablewallet: Check that wallet is really disabled
fa7396d qa: disablewallet: Check that wallet is really disabled (MarcoFalke) Tree-SHA512: 8c999ae0763fad389ba06f23cca3f589edaaf6dabd29ea8493413eee574ef2c1d49a69cb1158d8b28254cf922277a86b45747e50f44ebc9b0545297c3987289d
Diffstat (limited to 'test')
-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')