diff options
author | Jon Atack <jon@atack.com> | 2023-03-29 14:24:14 -0700 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2023-04-10 10:41:56 -0700 |
commit | 9ea8b3739a863b0ad87593639476b3cd712ff0dc (patch) | |
tree | 62e6795b0f7e41962a5af6f9d2bcbd6da9e21761 | |
parent | 645d7f75ac1b40e4ea88119b3711f89943d35d6c (diff) | |
download | bitcoin-9ea8b3739a863b0ad87593639476b3cd712ff0dc.tar.xz |
test: createwallet "warning" field deprecation test
-rwxr-xr-x | test/functional/wallet_createwallet.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/wallet_createwallet.py b/test/functional/wallet_createwallet.py index 15c0c07b0c..6258eb49d4 100755 --- a/test/functional/wallet_createwallet.py +++ b/test/functional/wallet_createwallet.py @@ -194,6 +194,11 @@ class CreateWalletTest(BitcoinTestFramework): "warnings": [EMPTY_PASSPHRASE_MSG, LEGACY_WALLET_MSG], }) + self.log.info('Test "warning" field deprecation, i.e. not returned without -deprecatedrpc=walletwarningfield') + self.restart_node(0, extra_args=[]) + result = self.nodes[0].createwallet(wallet_name="w7_again", disable_private_keys=False, blank=False, passphrase="") + assert "warning" not in result + if __name__ == '__main__': CreateWalletTest().main() |