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

Function test_get_skill_tool

tests/test_skill_tool.py:52–61  ·  view source on GitHub ↗

Test GetSkillTool

(skill_loader)

Source from the content-addressed store, hash-verified

50
51@pytest.mark.asyncio
52async def test_get_skill_tool(skill_loader):
53 """Test GetSkillTool"""
54 tool = GetSkillTool(skill_loader)
55
56 result = await tool.execute(skill_name="test-skill-0")
57
58 assert result.success
59 assert "test-skill-0" in result.content
60 assert "Test skill 0 description" in result.content
61 assert "Test skill 0 content" in result.content
62
63
64@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

executeMethod · 0.95
GetSkillToolClass · 0.90

Tested by

no test coverage detected