test: update test after trade id removal from telegram response for list_custom_data
This commit is contained in:
@@ -2916,11 +2916,10 @@ async def test_telegram_list_custom_data(default_conf_usdt, update, ticker, fee,
|
|||||||
assert msg_mock.call_count == 3
|
assert msg_mock.call_count == 3
|
||||||
assert "Found custom-data entries: " in msg_mock.call_args_list[0][0][0]
|
assert "Found custom-data entries: " in msg_mock.call_args_list[0][0][0]
|
||||||
assert (
|
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]
|
) in msg_mock.call_args_list[1][0][0]
|
||||||
assert (
|
assert (
|
||||||
"*Trade ID:* `1`\n*Key:* `test_dict`\n*Type:* `dict`\n"
|
"*Key:* `test_dict`\n*Type:* `dict`\n*Value:* `{'test': 'dict'}`\n*Create Date:* `"
|
||||||
"*Value:* `{'test': 'dict'}`\n*Create Date:* `"
|
|
||||||
) in msg_mock.call_args_list[2][0][0]
|
) in msg_mock.call_args_list[2][0][0]
|
||||||
|
|
||||||
msg_mock.reset_mock()
|
msg_mock.reset_mock()
|
||||||
|
|||||||
Reference in New Issue
Block a user