diff options
| author | Andrew Chow <[email protected]> | 2020-10-27 14:01:12 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2020-11-01 17:54:19 -0500 |
| commit | 388053e1722632c2e485c56a444bc75cf0152188 (patch) | |
| tree | ee06263bf8df29430d815f855a04c56e40596c72 | |
| parent | Make raw multisig tests legacy wallet only in rpc_rawtransaction.py (diff) | |
| download | discoin-388053e1722632c2e485c56a444bc75cf0152188.tar.xz discoin-388053e1722632c2e485c56a444bc75cf0152188.zip | |
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.
| -rwxr-xr-x | test/functional/tool_wallet.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/functional/tool_wallet.py b/test/functional/tool_wallet.py index 64b7ccdec..615b772dc 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() |