From 61b29962c46cf208936cf4bc3e467866d86d044f Mon Sep 17 00:00:00 2001 From: Axel-CH Date: Wed, 19 Mar 2025 03:10:23 -0400 Subject: [PATCH] test: update test after trade id removal from telegram response for list_custom_data --- tests/rpc/test_rpc_telegram.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/rpc/test_rpc_telegram.py b/tests/rpc/test_rpc_telegram.py index 47148165d..71ce557e2 100644 --- a/tests/rpc/test_rpc_telegram.py +++ b/tests/rpc/test_rpc_telegram.py @@ -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()