Files
obsidian-wiki/tests/test_wiki_skills.py
T
Codex 2396bd2d3e refactor(mcp): extract order services into independent project
Remove Kingdee sync, business CLI/MCP tools, and internal order-query routing
now owned by the separate kingdee-orders-mcp project. Keep Wiki retrieval,
file assets and ingest available in code while its deployed service is off.
Retain legacy response fields with business access disabled, and document
migration ownership and rollback without exposing credentials or data.

Validation: 174 Wiki tests pass. Independent order service verified with
36 template parity checks, authenticated HTTP queries, and a real sync.
2026-10-31 07:41:18 +00:00

11 lines
487 B
Python

import unittest
from pathlib import Path
class WikiSkillInstructionTests(unittest.TestCase):
def test_wiki_query_keeps_order_access_in_separate_project(self):
text = Path(".skills/wiki-query/SKILL.md").read_text()
self.assertIn("independent `kingdee-orders-mcp` project", text)
self.assertIn("must not read legacy order databases", text)
self.assertNotIn("obsidian-wiki business", text)
self.assertNotIn("Hybrid Business + Wiki Route", text)