From 6c0f26d3bd8010391761feada93ae902b6b27221 Mon Sep 17 00:00:00 2001 From: Ava Chow Date: Sun, 18 May 2025 11:58:40 -0700 Subject: [PATCH] test: check that creating a wallet does not log version info Github-Pull: #32553 Rebased-From: 4b2cd0b41ff4800c8801f2c44883eaec60a035fa --- test/functional/wallet_createwallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/functional/wallet_createwallet.py b/test/functional/wallet_createwallet.py index 1f74809ae98..06386bbbe98 100755 --- a/test/functional/wallet_createwallet.py +++ b/test/functional/wallet_createwallet.py @@ -189,7 +189,8 @@ class CreateWalletTest(BitcoinTestFramework): }) self.log.info("Check that the version number is being logged correctly") - node.createwallet("version_check") + with node.assert_debug_log(expected_msgs=[], unexpected_msgs=["Last client version = ", "Wallet file version = "]): + node.createwallet("version_check") wallet = node.get_wallet_rpc("version_check") wallet_version = wallet.getwalletinfo()["walletversion"] client_version = node.getnetworkinfo()["version"]