mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
qa: disablewallet: Check that wallet is really disabled
This commit is contained in:
parent
23d78c4dd0
commit
fa7396d6d9
@ -21,6 +21,8 @@ class DisableWalletTest (BitcoinTestFramework):
|
|||||||
self.extra_args = [["-disablewallet"]]
|
self.extra_args = [["-disablewallet"]]
|
||||||
|
|
||||||
def run_test (self):
|
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')
|
x = self.nodes[0].validateaddress('3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy')
|
||||||
assert(x['isvalid'] == False)
|
assert(x['isvalid'] == False)
|
||||||
x = self.nodes[0].validateaddress('mneYUmWYsuk7kySiURxCi3AGxrAqZxLgPZ')
|
x = self.nodes[0].validateaddress('mneYUmWYsuk7kySiURxCi3AGxrAqZxLgPZ')
|
||||||
|
Loading…
Reference in New Issue
Block a user