ycdemo / fastapi / tests/ test_tutorial/ test_async_tests/ test_main_a.py
import pytest
from docs_src.async_tests.app_a_py310.test_main import test_root
@pytest.mark.anyio
async def test_async_testing():
await test_root()
import pytest
from docs_src.async_tests.app_a_py310.test_main import test_root
@pytest.mark.anyio
async def test_async_testing():
await test_root()