test: adjust rpc tests for new calculation
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user