"""pytest 기본 fixture 설정"""

import pytest
import pytest_asyncio
from httpx import ASGITransport, AsyncClient


@pytest.fixture(scope="session")
def anyio_backend():
    return "asyncio"


# TODO: Phase 0 완료 후 활성화
# @pytest_asyncio.fixture
# async def client():
#     """FastAPI 테스트 클라이언트"""
#     from app.main import app
#     async with AsyncClient(
#         transport=ASGITransport(app=app),
#         base_url="http://test"
#     ) as ac:
#         yield ac
