Update funding_fee freqtradebot test

This commit is contained in:
Matthias
2021-12-11 09:49:48 +01:00
parent 6948414e47
commit 17bd990053
3 changed files with 72 additions and 67 deletions

View File

@@ -3498,7 +3498,7 @@ def test__calculate_funding_fees(
exchange = get_patched_exchange(mocker, default_conf, api_mock, id=exchange)
funding_fees = exchange._calculate_funding_fees('ADA/USDT', amount, d1, d2)
assert pytest.approx(funding_fees, expected_fees)
assert pytest.approx(funding_fees) == expected_fees
@ pytest.mark.parametrize('exchange,expected_fees', [