mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-06 03:46:10 +08:00
修改test文件
This commit is contained in:
parent
063c3ea883
commit
6c09772980
@ -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(
|
||||
|
@ -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 = "已中止订阅"
|
||||
|
Loading…
x
Reference in New Issue
Block a user