"""Integration tests configuration.""" from collections.abc import Iterator import pytest from fastapi.testclient import TestClient @pytest.fixture(scope="session") def app_test_client() -> Iterator[TestClient]: """Provides a TestClient for the FastAPI app.""" # Import after environment is set by root conftest from baby_monitor.main import app with TestClient(app) as client: yield client