diff options
author | Jon Atack <jon@atack.com> | 2020-12-04 12:51:34 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-05-09 12:49:56 +0200 |
commit | b5033275979a2a495b02b25f70cadbdcc8b6eb6a (patch) | |
tree | a49ad225b9ac20750a5fa48767eb8d078c735091 /test/functional/wallet_bumpfee.py | |
parent | c5fd4344f7fcc257062a610c8ff26ffcc9b53953 (diff) |
test: type error and out of range fee rates where missing
Diffstat (limited to 'test/functional/wallet_bumpfee.py')
-rwxr-xr-x | test/functional/wallet_bumpfee.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py index 895db7d472..3d7d236dcf 100755 --- a/test/functional/wallet_bumpfee.py +++ b/test/functional/wallet_bumpfee.py @@ -122,6 +122,7 @@ class BumpFeeTest(BitcoinTestFramework): assert_raises_rpc_error(-3, msg, rbf_node.bumpfee, rbfid, {"fee_rate": invalid_value}) # Test fee_rate out of range (negative number). assert_raises_rpc_error(-3, "Amount out of range", rbf_node.bumpfee, rbfid, {"fee_rate": -1}) + # Test type error. for value in [{"foo": "bar"}, True]: assert_raises_rpc_error(-3, "Amount is not a number or string", rbf_node.bumpfee, rbfid, {"fee_rate": value}) |