Browse Source

qa: disablewallet: Check that wallet is really disabled

tags/v0.15.1
MarcoFalke 4 years ago
parent
commit
fa7396d6d9
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      test/functional/disablewallet.py

+ 2
- 0
test/functional/disablewallet.py View File

@@ -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')

Loading…
Cancel
Save