From a3d3a4de51c53aa4d392ea1d11bfcce4c5c3d9b7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 7 Apr 2025 19:28:39 +0200 Subject: [PATCH] test: Update test to reflect new total_profit calculation --- tests/rpc/test_rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rpc/test_rpc.py b/tests/rpc/test_rpc.py index 8b9a0835a..a57053210 100644 --- a/tests/rpc/test_rpc.py +++ b/tests/rpc/test_rpc.py @@ -197,7 +197,7 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None: response.update( { "max_stake_amount": 0.001, - "total_profit_ratio": pytest.approx(-0.00409153), + "total_profit_ratio": pytest.approx(-0.00408133), "has_open_orders": False, } )