From 388053e1722632c2e485c56a444bc75cf0152188 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Tue, 27 Oct 2020 14:01:12 -0400 Subject: Disable some tests for tool_wallet when descriptors Some tests are legacy wallet only (and make legacy wallets) so they shouldn't be run when doing descriptor wallet tests. --- test/functional/tool_wallet.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test/functional') diff --git a/test/functional/tool_wallet.py b/test/functional/tool_wallet.py index 64b7ccdecf..615b772dc8 100755 --- a/test/functional/tool_wallet.py +++ b/test/functional/tool_wallet.py @@ -261,9 +261,12 @@ class ToolWalletTest(BitcoinTestFramework): # Warning: The following tests are order-dependent. self.test_tool_wallet_info() self.test_tool_wallet_info_after_transaction() - self.test_tool_wallet_create_on_existing_wallet() - self.test_getwalletinfo_on_different_wallet() - self.test_salvage() + if not self.options.descriptors: + # TODO: Wallet tool needs more create options at which point these can be enabled. + self.test_tool_wallet_create_on_existing_wallet() + self.test_getwalletinfo_on_different_wallet() + # Salvage is a legacy wallet only thing + self.test_salvage() if __name__ == '__main__': ToolWalletTest().main() -- cgit v1.2.3