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 = "已中止订阅"