test(review): 新增 pytest 离线回归网,锁定 dwg_review 既有行为
在改动审查流水线(确定性检查前置 / 结论结构化 / 证据交叉校验)之前, 先立一张离线、确定性、秒级的回归网。 - tests/fakes.py:假 LLM + 假 MCP 基座 + 响应构造器(ok_text/ok_image/err) + make_ctx/make_evidence,绝不触网、不读密钥 - 10 个模块共 134 用例: mcp_client / llm_client / cad_tools / checklist / config / planning / evidence / review / report / annotator - pytest.ini(testpaths=tests)+ requirements-dev.txt + 根 conftest.py (sys.path + RENDER_WAIT=0 / REPORT_DIR=tmp fixture)
This commit is contained in:
1 parent
8c07c7cad6
commit
0656397a68
15 files changed
+1710
No files matched your search
@@ -0,0 +1,5 @@
|
||||
"""dwg_review 回归测试网(离线快层)。
|
||||
|
||||
与仓库根目录的 `verify_*.py` 不同:这里全部使用假 LLM + 假 MCP 基座,
|
||||
不需要 CAD 在线、不联网、秒级完成,用于锁定流水线的既有行为。
|
||||
"""
|
||||
Reference in new issue
Block a user