Skip legacy wallet reliant tests if BDB is not compiled

This commit is contained in:
Andrew Chow committed 2021-01-27 12:52:46 -05:00
1 parent 6f36242389
commit b9b88f57a9
1 file changed
+2
@@ -789,6 +789,8 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
raise SkipTest("wallet has not been compiled.")
if self.options.descriptors:
self.skip_if_no_sqlite()
else:
self.skip_if_no_bdb()
def skip_if_no_sqlite(self):
"""Skip the running test if sqlite has not been compiled."""