MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / main

Function main

tests/test_mcp.py:561–575  ·  view source on GitHub ↗

Run all MCP tests.

()

Source from the content-addressed store, hash-verified

559
560
561async def main():
562 """Run all MCP tests."""
563 print("=" * 80)
564 print("Running MCP Integration Tests")
565 print("=" * 80)
566 print("\nNote: These tests require Node.js and will use MCP servers defined in mcp.json")
567 print("Tests will pass even if MCP is not configured.\n")
568
569 await test_mcp_tools_loading()
570 await test_mcp_tool_execution()
571 await test_connection_timeout_on_unreachable_server()
572
573 print("\n" + "=" * 80)
574 print("MCP tests completed! ✅")
575 print("=" * 80)
576
577
578if __name__ == "__main__":

Callers 1

test_mcp.pyFile · 0.70

Tested by

no test coverage detected