0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-02 09:46:52 -05:00

skip test_getaddressinfo() if wallet is disabled

This commit is contained in:
lsilva01 2021-08-24 19:42:13 -03:00
parent 5e3380b9f5
commit b142f79ddb

View file

@ -29,9 +29,6 @@ class InvalidAddressErrorMessageTest(BitcoinTestFramework):
self.setup_clean_chain = True
self.num_nodes = 1
def skip_test_if_missing_module(self):
self.skip_if_no_wallet()
def test_validateaddress(self):
node = self.nodes[0]
@ -87,6 +84,9 @@ class InvalidAddressErrorMessageTest(BitcoinTestFramework):
def run_test(self):
self.test_validateaddress()
if self.is_wallet_compiled():
self.init_wallet(0)
self.test_getaddressinfo()