Phase 2 — Add tests for /v1/threads/resolve (forked from #25) #32

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

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

New file: /home/b/Projects/easystitch-service/tests/unit/test_threads_resolve.py. Cover: happy path returns matches, nearest-match selection, alternative ordering, malformed input (missing colors, empty list, invalid hex) → 422.

Pure test work, no production change. ~40 lines.

**Scope: small.** Backend tests for /v1/threads/resolve. New file: `/home/b/Projects/easystitch-service/tests/unit/test_threads_resolve.py`. Cover: happy path returns matches, nearest-match selection, alternative ordering, malformed input (missing colors, empty list, invalid hex) → 422. Pure test work, no production change. ~40 lines.
Mark changed title from Decompose: Backend /v1/export and /v1/threads/resolve stub replacements — Phase 2: Add tests for /v1/threads/resolve to Phase 2 — Add tests for /v1/threads/resolve (forked from #25) 2026-07-14 00:44:39 +00:00
Mark 2026-07-15 00:48:37 +00:00
Sign in to join this conversation.
No description provided.