From 658e368cda3ee8ecc254ed478454d4a617f4e415 Mon Sep 17 00:00:00 2001 From: tzhouam Date: Tue, 25 Aug 2026 15:18:10 +0800 Subject: [PATCH] tests: re-pin skill doc exposure to the rewritten README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The #100 README rewrite (merged ccfda5a) kept every skill exposed but changed the literals; the two doc-pinning tests still asserted the old strings ($imcifix .../issues/5023, "$imupdate D:\path\to\vllm-omni", "/imdesign ") and turned main red. Re-pin to the rewritten README's real strings: the imcifix quick-start pair ($imcifix .../issues/5100, /imcifix 5100), the imupdate pair ($imupdate vllm-omni, /imupdate /path/to/vllm-omni), and the imdesign exposure ($imdesign plus the /imdesign scheduler example). Non-README assertions (codex.md, cursor prompt, installer) unchanged — those files were not rewritten. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_0165QsXAeLVPrKfj8Yk5zns3 --- test/test_imcifix_skill.py | 4 ++-- test/test_imupdate_skill.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/test_imcifix_skill.py b/test/test_imcifix_skill.py index 5ef462dd..adaf8815 100644 --- a/test/test_imcifix_skill.py +++ b/test/test_imcifix_skill.py @@ -23,7 +23,7 @@ def test_docs_expose_imcifix() -> None: codex = (ROOT / "doc" / "guide" / "hosts" / "codex.md").read_text(encoding="utf-8") cursor = (ROOT / "integrations" / "cursor" / "imcifix.md").read_text(encoding="utf-8") - assert "$imcifix https://github.com/vllm-project/vllm-omni/issues/5023" in readme - assert "/imcifix " in readme + assert "$imcifix https://github.com/vllm-project/vllm-omni/issues/5100" in readme + assert "/imcifix 5100" in readme assert "$imcifix https://github.com/vllm-project/vllm-omni/issues/5023" in codex assert "Do not commit, push, open a PR, or post an issue comment" in cursor diff --git a/test/test_imupdate_skill.py b/test/test_imupdate_skill.py index 80c15057..6483bb9b 100644 --- a/test/test_imupdate_skill.py +++ b/test/test_imupdate_skill.py @@ -33,7 +33,7 @@ def test_installer_and_docs_expose_imupdate() -> None: assert '_install_skills(config_root / ".agents" / "skills")' in installer assert '_install_skills(config_root / ".claude" / "skills")' in installer assert '_install_skills(cursor_root / "skills")' in installer - assert "$imupdate D:\\path\\to\\vllm-omni" in readme - assert "$imupdate vllmomni" in readme - assert "$imdesign https://github.com/JiusiServe/InferMatrixCopilot/issues/46" in readme - assert "/imdesign " in readme + assert "/imupdate /path/to/vllm-omni" in readme + assert "$imupdate vllm-omni" in readme + assert "$imdesign" in readme + assert "/imdesign 给 scheduler 加抢占开关" in readme