This commit is contained in:
Azide 2022-03-07 20:10:36 +08:00
commit ab74d6227c

View File

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