aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-10-27 14:01:12 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-11-01 17:54:19 -0500
commit388053e1722632c2e485c56a444bc75cf0152188 (patch)
treeee06263bf8df29430d815f855a04c56e40596c72 /test
parent47d3243160fdec7e464cfb8f869be7f5d4ee25fe (diff)
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.
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/tool_wallet.py9
1 files changed, 6 insertions, 3 deletions
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()