From 6c09772980556fd14244e93d500f60866708b81d Mon Sep 17 00:00:00 2001 From: Azide Date: Sun, 20 Mar 2022 20:32:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9test=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_config_manager_add.py | 4 +++- tests/utils.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_config_manager_add.py b/tests/test_config_manager_add.py index 197e159..32f8b8c 100644 --- a/tests/test_config_manager_add.py +++ b/tests/test_config_manager_add.py @@ -462,7 +462,9 @@ async def test_add_with_target_parser(app: App): assert Bilibili.parse_target_promot ctx.should_call_send( event_3, - Message(Bilibili.parse_target_promot), + Message( + "1." + Bilibili.parse_target_promot + "\n2." + BotReply.add_reply_on_id + ), True, ) event_4_err = fake_group_message_event( diff --git a/tests/utils.py b/tests/utils.py index 821544a..6de13c2 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -133,6 +133,6 @@ class BotReply: add_reply_on_id_input_error = "id输入错误" add_reply_on_target_parse_input_error = "不能从你的输入中提取出id,请检查你输入的内容是否符合预期" add_reply_on_platform_input_error = "平台输入错误" - add_reply_on_id = "请输入订阅用户的id:\n查询id获取方法请回复:“查询”" + add_reply_on_id = "请输入订阅用户的id\n查询id获取方法请回复:“查询”" add_reply_on_tags = '请输入要订阅的tag,订阅所有tag输入"全部标签"' add_reply_abort = "已中止订阅"