test: slight change on expected string in test_telegram_list_custom_data

This commit is contained in:
Axel-CH
2025-03-12 00:21:24 -04:00
parent f85891941f
commit fe16654733

View File

@@ -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