"""Test configuration and fixtures for the backend tests.""" from unittest.mock import AsyncMock from unittest.mock import MagicMock import pytest from sqlalchemy.ext.asyncio import AsyncSession type MockLogger = MagicMock @pytest.fixture def async_session() -> AsyncSession: """Fixture to provide a mocked AsyncSession for database interactions.""" return AsyncMock(spec=AsyncSession)