test(M01): 조합 고치기 시험 — 은퇴한 PUT 길 대신 저장소 함수 combo_edit 로(39-1d 뒤)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013rJwJMVL4EE31y77TB11AP
This commit is contained in:
2026-10-04 20:44:41 +09:00
co-authored by Claude Opus 5.5
parent 6d46dda543
commit e7fc09bf53
2 changed files with 11 additions and 5 deletions
+8 -3
View File
@@ -88,9 +88,14 @@ def _list(client: TestClient) -> list[dict]:
def _edit(client: TestClient, key: str, version: str, row: dict, want: int = 200) -> dict:
res = client.put(f"{SYS}/{key}", json={"combo": row, "판": version})
assert res.status_code == want, res.text
return res.json()
"""조합 고치기 길(PUT)은 은퇴(39-1d) — 저장소 함수(실무문서 고치기)를 바로 부름."""
try:
done = combo_store.combo_edit(key, version, row, row.get("소유") or "")
except store.StoreError as error:
assert error.status == want, error.detail
return {"detail": error.detail}
assert want == 200
return done
def _inputs(key: str) -> dict: