Skip to main content
Glama

Python Apple MCP

by jxnl
test_messages_direct.py826 B
"""Tests for Messages module using direct execution (no mocks).""" import pytest import pytest_asyncio import asyncio from utils.message import MessageModule @pytest.mark.asyncio async def test_messages_basic_structure(messages): """Test basic messages structure without sending actual messages.""" # We'll use a placeholder phone number but not actually send # This just tests the API structure and access phone_number = "+11234567890" # Placeholder, won't actually be used for sending # Test reading messages (doesn't actually send anything) result = await messages.read_messages(phone_number) # Print the structure for debugging print("Read messages result structure:") print(f"Result: {result}") # Just verify we get back a list assert isinstance(result, list)

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/jxnl/python-apple-mcp'

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