From fa7396d6d9adafdf1118f773a7f5cad04f31f734 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 8 May 2017 21:09:07 +0200 Subject: [PATCH] qa: disablewallet: Check that wallet is really disabled --- test/functional/disablewallet.py | 2 ++ 1 file changed, 2 insertions(+) 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')