"""Shared pytest fixtures for fable-mcp tests.""" from unittest.mock import AsyncMock, MagicMock import pytest @pytest.fixture def mock_client(): """A mock FableClient that returns empty responses by default.""" client = AsyncMock() client.__aenter__ = AsyncMock(return_value=client) client.__aexit__ = AsyncMock(return_value=False) return client