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