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
+3 -2
View File
@@ -144,5 +144,6 @@ def test_본뜬키는_목록에_나오고_없는_키_자기_키는_400(own) -> N
assert own.post(SYS, json={"combo": bad}).status_code == 400
version = own.get(f"{SYS}/{base}").json()["판"]
me = {"이름": "원본", "본뜬키": base, "담은로직": combo["담은로직"]}
res = own.put(f"{SYS}/{base}", json={"combo": me, "판": version})
assert res.status_code == 400
with pytest.raises(store.StoreError) as caught: # 조합 고치기 길(PUT) 은퇴 — 저장소 함수로
combo_store.combo_edit(base, version, me)
assert caught.value.status == 400