test: update test after trade id removal from telegram response for list_custom_data

This commit is contained in:
Axel-CH
2025-03-19 03:10:23 -04:00
parent b83754c5a4
commit 61b29962c4

View File

@@ -2916,11 +2916,10 @@ async def test_telegram_list_custom_data(default_conf_usdt, update, ticker, fee,
assert msg_mock.call_count == 3
assert "Found custom-data entries: " in msg_mock.call_args_list[0][0][0]
assert (
"*Trade ID:* `1`\n*Key:* `test_int`\n*Type:* `int`\n*Value:* `1`\n*Create Date:*"
"*Key:* `test_int`\n*Type:* `int`\n*Value:* `1`\n*Create Date:*"
) in msg_mock.call_args_list[1][0][0]
assert (
"*Trade ID:* `1`\n*Key:* `test_dict`\n*Type:* `dict`\n"
"*Value:* `{'test': 'dict'}`\n*Create Date:* `"
"*Key:* `test_dict`\n*Type:* `dict`\n*Value:* `{'test': 'dict'}`\n*Create Date:* `"
) in msg_mock.call_args_list[2][0][0]
msg_mock.reset_mock()