From b18d6e7d19bf3e49ad291c3ee3ba0b1b41e89519 Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Mon, 7 Feb 2022 19:17:41 +0800 Subject: =?UTF-8?q?=E2=9C=85=20=E6=9B=B4=E6=AD=A3=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/test_plugin_help.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/test_plugin_help.py b/test/test_plugin_help.py index e107150..ef30e1d 100644 --- a/test/test_plugin_help.py +++ b/test/test_plugin_help.py @@ -111,7 +111,7 @@ async def test_service_info(app: App): event = make_fake_event(_message=msg, _to_me=True)() ctx.receive_event(bot, event) - ctx.should_call_send(event, "请检查是否输入错误...", True) + ctx.should_call_send(event, "请检查是否输入错误呢...@bot 帮助 [服务]", True) async with app.test_matcher(service_info) as ctx: bot = ctx.create_bot() @@ -124,13 +124,11 @@ async def test_service_info(app: App): event, """ 服务名:状态 - 说明: - 检查咱自身状态 - + 说明:检查咱自身状态 可用命令: /ping、/status 是否全局启用:True - Tip: 帮助 [服务] [命令] 以查看对应命令详细信息 + Tip: @bot 帮助 [服务] [命令] 以查看对应命令详细信息 """, True, ) -- cgit v1.2.3