diff options
author | Leonardo Araujo <leonardo.aa88@gmail.com> | 2022-10-04 13:51:24 -0300 |
---|---|---|
committer | Leonardo Araujo <leonardo.aa88@gmail.com> | 2022-10-10 18:08:00 -0300 |
commit | 2dede9f67596787e18904d3d5961f48ec75f241e (patch) | |
tree | 81472b4316cf093e3abcf3c61a526c3d1c346e46 /test/functional/wallet_bumpfee.py | |
parent | 9ca39d69dfe03c19662867c3d53a5e6e41277d4a (diff) |
Adjust RPCTypeCheckObj error string
Diffstat (limited to 'test/functional/wallet_bumpfee.py')
-rwxr-xr-x | test/functional/wallet_bumpfee.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py index 158ef66110..2ee3e00a7b 100755 --- a/test/functional/wallet_bumpfee.py +++ b/test/functional/wallet_bumpfee.py @@ -151,7 +151,7 @@ class BumpFeeTest(BitcoinTestFramework): self.log.info("Test invalid estimate_mode settings") for k, v in {"number": 42, "object": {"foo": "bar"}}.items(): - assert_raises_rpc_error(-3, "Expected type string for estimate_mode, got {}".format(k), + assert_raises_rpc_error(-3, f"JSON value of type {k} for field estimate_mode is not of expected type string", rbf_node.bumpfee, rbfid, {"estimate_mode": v}) for mode in ["foo", Decimal("3.1415"), "sat/B", "BTC/kB"]: assert_raises_rpc_error(-8, 'Invalid estimate_mode parameter, must be one of: "unset", "economical", "conservative"', |