fix: resolve builtin skill reads
This commit is contained in:
1 parent
5d034dc79c
commit
10b52cfb3a
2 files changed
+26
No files matched your search
@@ -77,6 +77,13 @@ class TestReadFileTool:
|
||||
assert "Error" in result
|
||||
assert "not found" in result
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_workspace_relative_builtin_skill_read_falls_back_to_packaged_skill(self, tool):
|
||||
result = await tool.execute(path="skills/long-goal/SKILL.md", limit=5)
|
||||
|
||||
assert "Error" not in result
|
||||
assert "long-goal" in result.lower()
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_missing_path_returns_clear_error(self, tool):
|
||||
result = await tool.execute()
|
||||
|
||||
Reference in new issue
Block a user