test: update tests for new calculate_fee_rate logic

This commit is contained in:
Matthias
2024-12-18 07:09:35 +01:00
parent 2a45ff08e4
commit 44c29aa998
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3971,7 +3971,7 @@ def test_get_real_amount_multi(
markets["BNB/ETH"] = markets["ETH/USDT"]
freqtrade = get_patched_freqtradebot(mocker, default_conf_usdt)
mocker.patch(f"{EXMS}.markets", PropertyMock(return_value=markets))
mocker.patch(f"{EXMS}.fetch_ticker", return_value={"ask": 0.19, "last": 0.2})
mocker.patch(f"{EXMS}.get_conversion_rate", return_value=0.2)
# Amount is reduced by "fee"
expected_amount = amount * fee_reduction_amount