""" Pytest configuration and fixtures for LLM Agent Service tests """ import pytest from typing import AsyncGenerator # Example fixtures - expand as needed @pytest.fixture def mock_settings(): """Mock settings for testing""" from src.config import Settings return Settings( anthropic_api_key="test-api-key", database_url="postgresql://test:test@localhost/test", redis_url="redis://localhost:6379/1", ) @pytest.fixture async def async_client(): """Async HTTP client fixture for API testing""" from httpx import AsyncClient async with AsyncClient() as client: yield client