From 1c7ec5f4adc55f4e441be3e652de9925787ea7c9 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 9 May 2017 23:15:15 +0200 Subject: [PATCH] Merge #10361: qa: disablewallet: Check that wallet is really disabled fa7396d qa: disablewallet: Check that wallet is really disabled (MarcoFalke) Tree-SHA512: 8c999ae0763fad389ba06f23cca3f589edaaf6dabd29ea8493413eee574ef2c1d49a69cb1158d8b28254cf922277a86b45747e50f44ebc9b0545297c3987289d --- test/functional/disablewallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/functional/disablewallet.py b/test/functional/disablewallet.py index 94d4402ea..0a8c74dc1 100755 --- a/test/functional/disablewallet.py +++ b/test/functional/disablewallet.py @@ -21,7 +21,8 @@ class DisableWalletTest (BitcoinTestFramework): self.extra_args = [["-disablewallet"]] def run_test (self): - # Check regression: https://github.com/bitcoin/bitcoin/issues/6963#issuecomment-154548880 + # Make sure wallet is really disabled + assert_raises_jsonrpc(-32601, 'Method not found', self.nodes[0].getwalletinfo) x = self.nodes[0].validateaddress('7TSBtVu959hGEGPKyHjJz9k55RpWrPffXz') assert(x['isvalid'] == False) x = self.nodes[0].validateaddress('ycwedq2f3sz2Yf9JqZsBCQPxp18WU3Hp4J')