Skip to main content
Glama
test_formatter.py559 B
from src.common.config_handler import set_config_value from src.common.formatter import * # ---------------------------- # Tests # ---------------------------- def test_format_ticket_key_simple(): key_to_format = "15" key_formatted = "000015" assert format_ticket_key(key_to_format) == key_formatted def test_format_ticket_key_complex(): key_to_format = "15" key_formatted = "DEV-2025-000015" set_config_value('rei3-tickets-api', 'key_format', 'DEV-2025-{key:06d}') assert format_ticket_key(key_to_format) == key_formatted

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/lgndluke/REI3-Tickets-MCP-Server'

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