This commit is contained in:
lda
2026-06-02 04:18:55 +07:00 Verified
parent 4e28c8db5d
commit e6bb5d6514
8 changed files with 373 additions and 0 deletions
+9
View File
@@ -28,6 +28,8 @@ def test_server_exposes_platform_documentation_resources() -> None:
assert "wf://docs/operator-manual" in uris
assert "wf://docs/workflow-capabilities" in uris
assert "wf://docs/workflow-drafts" in uris
assert "wf://skills/wf-workflow/SKILL.md" in uris
assert "wf://skills/wf-workflow/references/workflow-lifecycle.md" in uris
result = await client.read_resource("wf://docs/operator-manual")
assert isinstance(result[0], mcp_types.TextResourceContents)
@@ -44,6 +46,13 @@ def test_server_exposes_platform_documentation_resources() -> None:
or "Do not use `source` at top level" in drafts_result[0].text
)
skill_result = await client.read_resource(
"wf://skills/wf-workflow/SKILL.md"
)
assert isinstance(skill_result[0], mcp_types.TextResourceContents)
assert "name: wf-workflow" in skill_result[0].text
assert "Workflow Lifecycle" in skill_result[0].text
asyncio.run(run_proxy())