diff options
author | Kyomotoi <[email protected]> | 2022-02-07 19:17:41 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2022-02-07 19:17:41 +0800 |
commit | b18d6e7d19bf3e49ad291c3ee3ba0b1b41e89519 (patch) | |
tree | a46b3c482e269a89818af004fdf86c4b8677209a /test | |
parent | e56d8db49dc4190c23d96ca4da186174cf30185b (diff) | |
download | ATRI-b18d6e7d19bf3e49ad291c3ee3ba0b1b41e89519.tar.gz ATRI-b18d6e7d19bf3e49ad291c3ee3ba0b1b41e89519.tar.bz2 ATRI-b18d6e7d19bf3e49ad291c3ee3ba0b1b41e89519.zip |
✅ 更正测试用例
Diffstat (limited to 'test')
-rw-r--r-- | test/test_plugin_help.py | 8 |
1 files 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, ) |