mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-22 04:11:59 +00:00
test: slight change on expected string in test_telegram_list_custom_data
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user