Files
DeepTutor/tests/api
evan188199-tech f0348731de test(co-writer): lock router contract for CRUD, 4xx payloads, export failures (#1768)
Coverage gap: deeptutor/api/routers/co_writer.py had 246 missing lines
(40.0%). Add tests/api/routers/test_co_writer_contract.py (40 cases):
document CRUD request/response shapes, illegal-payload 4xx handling,
export/import failure branches, edit/automark agent passthrough, and
history/tool-calls endpoints. All storage and agent work is stubbed to
tmp_path; no product code changed.

Evidence: evidence/co-writer-tests-20261003/ (40 passed on
origin/main ef2d9e5c3; no failing cases, contract currently holds).

Co-authored-by: XZH <cto@xzh.ai>
2026-10-07 20:14:11 +08:00
..
2026-06-11 20:03:34 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-22 21:36:27 +08:00
2026-06-21 14:43:41 +08:00
2026-08-02 13:07:32 +08:00
2026-10-04 21:35:00 +08:00
2026-10-04 21:35:00 +08:00