Skip to content

Commit 60ae116

Browse files
committed
qa: replace assert with test framework assertion helpers in fee estimation test
1 parent e502139 commit 60ae116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/feature_fee_estimation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def sanity_check_rbf_estimates(self, utxos):
279279
utxos_to_respend = []
280280
txids_to_replace = []
281281

282-
assert len(utxos) >= 250
282+
assert_greater_than_or_equal(len(utxos), 250)
283283
for _ in range(5):
284284
# Broadcast 45 low fee transactions that will need to be RBF'd
285285
for _ in range(45):
@@ -308,7 +308,7 @@ def sanity_check_rbf_estimates(self, utxos):
308308
# the rest needed to be RBF'd. We must return the 90% conf rate feerate.
309309
high_feerate_kvb = Decimal(high_feerate) / COIN * 10 ** 3
310310
est_feerate = node.estimatesmartfee(2)["feerate"]
311-
assert est_feerate == high_feerate_kvb
311+
assert_equal(est_feerate, high_feerate_kvb)
312312

313313
def run_test(self):
314314
self.log.info("This test is time consuming, please be patient")

0 commit comments

Comments
 (0)