test: adjust rpc tests for new calculation

This commit is contained in:
Matthias
2025-01-18 19:58:23 +01:00
parent 2044af24a3
commit f773905d8e
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1591,7 +1591,7 @@ async def test_telegram_performance_handle(default_conf_usdt, update, ticker, fe
await telegram._performance(update=update, context=MagicMock())
assert msg_mock.call_count == 1
assert "Performance" in msg_mock.call_args_list[0][0][0]
assert "<code>XRP/USDT\t2.842 USDT (10.00%) (1)</code>" in msg_mock.call_args_list[0][0][0]
assert "<code>XRP/USDT\t2.842 USDT (9.47%) (1)</code>" in msg_mock.call_args_list[0][0][0]
async def test_telegram_entry_tag_performance_handle(