test: skip backwards compat tests if not compiled with wallet

This commit is contained in:
fanquake 2020-04-06 09:03:17 +08:00
parent cf21293ef7
commit c0c43ae147
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -40,6 +40,9 @@ class BackwardsCompatibilityTest(BitcoinTestFramework):
["-nowallet", "-walletrbf=1", "-addresstype=bech32"] # v0.17.1
]
def skip_test_if_missing_module(self):
self.skip_if_no_wallet()
def setup_nodes(self):
if os.getenv("TEST_PREVIOUS_RELEASES") == "false":
raise SkipTest("backwards compatibility tests")