From 8f04225282b16bbe906dcfc3f975272edefad00c Mon Sep 17 00:00:00 2001 From: Stefano Ariestasia Date: Sun, 23 Jul 2023 15:00:08 +0900 Subject: [PATCH] another test fix --- 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 65db6770a..3bc725f3a 100644 --- a/tests/rpc/test_rpc.py +++ b/tests/rpc/test_rpc.py @@ -403,7 +403,7 @@ def test_rpc_trade_statistics(default_conf_usdt, ticker, fee, mocker) -> None: assert res['latest_trade_date'] == '' assert res['latest_trade_timestamp'] == 0 assert res['expectancy'] == 0 - assert res['expectancy_ratio'] == float('inf') + assert res['expectancy_ratio'] == 100 # Create some test data create_mock_trades_usdt(fee)