Skip to content

Commit 388053e

Browse files
committed
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.
1 parent 47d3243 commit 388053e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/functional/tool_wallet.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,12 @@ def run_test(self):
261261
# Warning: The following tests are order-dependent.
262262
self.test_tool_wallet_info()
263263
self.test_tool_wallet_info_after_transaction()
264-
self.test_tool_wallet_create_on_existing_wallet()
265-
self.test_getwalletinfo_on_different_wallet()
266-
self.test_salvage()
264+
if not self.options.descriptors:
265+
# TODO: Wallet tool needs more create options at which point these can be enabled.
266+
self.test_tool_wallet_create_on_existing_wallet()
267+
self.test_getwalletinfo_on_different_wallet()
268+
# Salvage is a legacy wallet only thing
269+
self.test_salvage()
267270

268271
if __name__ == '__main__':
269272
ToolWalletTest().main()

0 commit comments

Comments
 (0)