test: remove redundant test values
as they are parsed identically. See AmountFromValue() / ParseFixedPoint() / UniValue#getValStr()
This commit is contained in:
1 parent
c3f203387d
commit
90c8f79e94
5 files changed
+6
-6
No files matched your search
@@ -846,7 +846,7 @@ class RawTransactionsTest(BitcoinTestFramework):
|
||||
for invalid_value in ["", 0.000000001, 1e-09, 1.111111111, 1111111111111111, "31.999999999999999999999"]:
|
||||
assert_raises_rpc_error(-3, "Invalid amount", node.fundrawtransaction, rawtx, add_inputs=True, **{param: invalid_value})
|
||||
# Test fee_rate values that cannot be represented in sat/vB.
|
||||
for invalid_value in [0.0001, 0.00000001, 0.00099999, 31.99999999, "0.0001", "0.00000001", "0.00099999", "31.99999999"]:
|
||||
for invalid_value in [0.0001, 0.00000001, 0.00099999, 31.99999999]:
|
||||
assert_raises_rpc_error(-3, "Invalid amount",
|
||||
node.fundrawtransaction, rawtx, fee_rate=invalid_value, add_inputs=True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user