From cf5b6e5e20dd4dc81bc8de837d995e3309e08f1b Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 18 Jan 2025 19:49:23 +0100 Subject: [PATCH] test: improve test resiliance --- tests/rpc/test_rpc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/rpc/test_rpc.py b/tests/rpc/test_rpc.py index 4d8618ccc..2aab22453 100644 --- a/tests/rpc/test_rpc.py +++ b/tests/rpc/test_rpc.py @@ -992,6 +992,7 @@ def test_performance_handle(default_conf_usdt, ticker, fee, mocker) -> None: assert len(res) == 3 assert res[0]["pair"] == "NEO/USDT" assert res[0]["count"] == 1 + assert res[0]["profit_abs"] == 3.9875 assert res[0]["profit_pct"] == 5.0