From fe1665473375185e97960482a0dd8ab838b5a127 Mon Sep 17 00:00:00 2001 From: Axel-CH Date: Wed, 12 Mar 2025 00:21:24 -0400 Subject: [PATCH] test: slight change on expected string in test_telegram_list_custom_data --- tests/rpc/test_rpc_telegram.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/rpc/test_rpc_telegram.py b/tests/rpc/test_rpc_telegram.py index 1882e09c4..6fff97abd 100644 --- a/tests/rpc/test_rpc_telegram.py +++ b/tests/rpc/test_rpc_telegram.py @@ -2861,9 +2861,7 @@ async def test_telegram_list_custom_data(default_conf_usdt, update, ticker, fee, context.args = ["1"] await telegram._list_custom_data(update=update, context=context) assert msg_mock.call_count == 1 - assert ( - "Didn't find any custom-data entries for Trade ID: `1`" in msg_mock.call_args_list[0][0][0] - ) + assert "No custom_data found for Trade ID: 1." in msg_mock.call_args_list[0][0][0] msg_mock.reset_mock() # Add some custom data