mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-05-31 16:16:11 +08:00
更新gitignore
This commit is contained in:
parent
574e491628
commit
08387943ba
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,6 +22,7 @@
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
venv_test/
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
@ -1,7 +1,10 @@
|
||||
import imp
|
||||
from nonebug import App
|
||||
|
||||
from .utils import fake_admin_user, fake_private_message_event, fake_group_message_event, fake_superuser
|
||||
|
||||
from .conftest import app
|
||||
|
||||
import pytest
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@ -63,5 +66,5 @@ async def test_query_with_superuser_group_tome(app: App):
|
||||
ctx.should_pass_rule()
|
||||
ctx.should_pass_permission()
|
||||
ctx.should_call_send(
|
||||
event, '', True
|
||||
event, Message("该功能只支持私聊使用,请私聊Bot"), True
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user