Skip to main content
Glama
conftest.py660 B
#!/usr/bin/env python3 """ Project-level pytest configuration and shared fixtures. This module provides shared fixtures used across multiple test modules: - mock_memory_service: Mock memory service for testing """ from unittest.mock import AsyncMock import pytest # Don't import MemoryService directly to avoid API key validation @pytest.fixture def mock_memory_service(): """Create mock memory service. This fixture creates a mock MemoryService for testing. The mock can be configured in individual tests to return specific values or raise exceptions. Returns: AsyncMock: Mock memory service """ return AsyncMock()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/terrymunro/mcp-mitm-mem0'

If you have feedback or need assistance with the MCP directory API, please join our Discord server