Phase 2 — Add tests for /v1/threads/catalog (forked from #24) #30

Closed
opened 2026-07-13 01:54:39 +00:00 by Mark · 0 comments
Owner

Scope: small. Backend tests for /v1/threads/catalog.

New file: /home/b/Projects/easystitch-service/tests/unit/test_threads_catalog.py. Mock JSON loaded in-memory. Cover: happy path returns expected shape, missing file is handled, malformed JSON is handled.

Acceptance: pytest tests/unit/test_threads_catalog.py -v exits 0. Pure test-file work, no production change. ~50 lines.

**Scope: small.** Backend tests for /v1/threads/catalog. New file: `/home/b/Projects/easystitch-service/tests/unit/test_threads_catalog.py`. Mock JSON loaded in-memory. Cover: happy path returns expected shape, missing file is handled, malformed JSON is handled. Acceptance: `pytest tests/unit/test_threads_catalog.py -v` exits 0. Pure test-file work, no production change. ~50 lines.
Mark changed title from Decompose: GET /v1/threads/catalog missing from backend — Phase 2: Add tests to Phase 2 — Add tests for /v1/threads/catalog (forked from #24) 2026-07-14 00:44:39 +00:00
Mark closed this issue 2026-07-27 00:30:41 +00:00
Sign in to join this conversation.
No description provided.