From 3a6f3866e04ef27c46c8aaa3c01bbb0ae71b4957 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 4 Oct 2026 09:19:40 +0800 Subject: [PATCH] test(agent): remove the API skill line limit --- tests/test_agent_api_surface_audit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_agent_api_surface_audit.py b/tests/test_agent_api_surface_audit.py index fc56418db..3c69af187 100644 --- a/tests/test_agent_api_surface_audit.py +++ b/tests/test_agent_api_surface_audit.py @@ -84,14 +84,13 @@ def test_recent_business_routes_are_exposed_as_stable_gateway_operations() -> No def test_moviepilot_api_skill_routes_contracts_to_category_files() -> None: - """The API Skill entrypoint stays concise and every operation has a namespace file.""" + """API Skill 通过分类文档索引全部 operation 及请求体合同。""" entrypoint = API_SKILL.read_text(encoding="utf-8") category_files = { path.stem: path.read_text(encoding="utf-8") for path in sorted((API_SKILL.parent / "api").glob("*.md")) } - assert len(entrypoint.splitlines()) < 300 assert "### `" not in entrypoint assert len(category_files) == 21 assert "models" not in category_files