Skip to main content
Glama

MCP-JIRA-Python Server

by Kallows
test_base.py700 B
import unittest from unittest.mock import Mock, patch from mcp_jira_python.tools.base import BaseTool class MockBaseTool(BaseTool): """Mock implementation of BaseTool for testing""" async def execute(self, arguments): return {"status": "success"} def get_tool_definition(self): return { "name": "mock_tool", "description": "Mock tool for testing" } class TestBaseTool(unittest.TestCase): def setUp(self): super().setUp() self.tool = MockBaseTool() # Use MockBaseTool instead of BaseTool self.mock_jira = Mock() self.tool.jira = self.mock_jira # Rest of the test cases remain the same...

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/Kallows/mcp-jira-python'

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