auto fix by pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] 2022-03-06 10:42:15 +00:00
parent 3057f41f25
commit 29a82b80c8

@ -2,9 +2,11 @@ import pytest
import respx import respx
from httpx import Response from httpx import Response
from nonebug.app import App from nonebug.app import App
from .platforms.utils import get_json from .platforms.utils import get_json
from .utils import fake_admin_user, fake_group_message_event from .utils import fake_admin_user, fake_group_message_event
# 选择platform阶段中止 # 选择platform阶段中止
@pytest.mark.asyncio @pytest.mark.asyncio
@respx.mock @respx.mock
@ -65,6 +67,8 @@ async def test_abort_add_on_platform(app: App):
True, True,
) )
ctx.should_finished() ctx.should_finished()
# 输入id阶段中止 # 输入id阶段中止
@pytest.mark.asyncio @pytest.mark.asyncio
@respx.mock @respx.mock
@ -137,6 +141,7 @@ async def test_abort_add_on_id(app: App):
) )
ctx.should_finished() ctx.should_finished()
# 输入订阅类别阶段中止 # 输入订阅类别阶段中止
@pytest.mark.asyncio @pytest.mark.asyncio
@respx.mock @respx.mock