test: skip backwards compat tests if not compiled with wallet

This commit is contained in:
fanquake committed 2020-04-06 09:03:17 +08:00
1 parent cf21293ef7
commit c0c43ae147
1 file changed
+3
@@ -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")