Skip to main content
Glama
test_snowflake.py452 B
import os import pytest from src.simple_snowflake_mcp import server @pytest.mark.asyncio async def test_list_snowflake_warehouses(): # On suppose que la connexion Snowflake est valide et que le .env est bien configuré result = await server.handle_call_tool("list-snowflake-warehouses", {}) assert isinstance(result, list) assert len(result) > 0 or result[0].text.startswith("Erreur Snowflake") print("Résultat:", result[0].text)

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/YannBrrd/simple_snowflake_mcp'

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