MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / test_mcp_plugin

Function test_mcp_plugin

tests/test_plugins.py:297–305  ·  view source on GitHub ↗

Test MCP plugin module

()

Source from the content-addressed store, hash-verified

295
296
297def test_mcp_plugin():
298 """Test MCP plugin module"""
299 import optillm.plugins.mcp_plugin as plugin
300 assert hasattr(plugin, 'run')
301 assert hasattr(plugin, 'SLUG')
302 assert hasattr(plugin, 'ServerConfig')
303 assert hasattr(plugin, 'MCPServer')
304 assert hasattr(plugin, 'execute_tool')
305 assert plugin.SLUG == "mcp"
306
307
308def test_compact_plugin():

Callers 1

test_plugins.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected