From db45b0542017bae62b4d0b36a3bcbf373c65e3a8 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 31 Oct 2026 20:36:38 +0900 Subject: [PATCH] =?UTF-8?q?test(627-1):=20=EB=82=A1=EC=9D=80=20=EC=8B=9C?= =?UTF-8?q?=ED=97=98=206=20=EA=B3=A0=EC=B9=A8=20=E2=80=94=20test=5F283=20?= =?UTF-8?q?=EC=86=90=20=EA=B3=A0=EC=B9=A8=20=EC=A0=80=EC=9E=A5=20=C2=B7=20?= =?UTF-8?q?test=5F347=5F2=20=EB=B0=B0=EC=88=98=EC=9C=A0=EC=97=AD=20?= =?UTF-8?q?=EC=8B=A4=EC=8B=9C=EA=B0=84=20=EA=B0=80=EC=A7=9C=EA=B0=92=20?= =?UTF-8?q?=ED=98=84=ED=96=89=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - test_347_2 다섯(세대 둘 · 저장 노선 답 · 초안 답 · 잠금) — 59ae735ed(609-1 공용 하강장)가 _prepare 에 좌표계 칸 crs 를 더함 · 시험 가짜 _prepare 에 crs 없어 KeyError · 가짜에 crs None 더함(코드 의도대로) - test_283 한 본문 손 고침 — b92fa06f3(498-2)가 _save_alignment 에 계획고 본문 꼴 검사(ProfileAlignmentSaveRequest 아니면 약속으로 기다림)를 더함 · 시험 가짜 model_copy 가 SimpleNamespace 를 내어 await 실패 · 가짜가 ProfileAlignmentSaveRequest.model_construct 를 내게 고침 - 코드 흠 없음 · B05 · B06 · B04 코드 그대로 Co-Authored-By: Claude Opus 5.5 --- resources/tester/test_283_route_change_reset.py | 6 +++++- resources/tester/test_347_2_drainage_live.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/tester/test_283_route_change_reset.py b/resources/tester/test_283_route_change_reset.py index bcd6884f2..651d75fbe 100644 --- a/resources/tester/test_283_route_change_reset.py +++ b/resources/tester/test_283_route_change_reset.py @@ -310,7 +310,11 @@ def test_한_본문_손_고침은_보낸_칸을_씀(monkeypatch): pipes={"points": [{"chainage_m": 50.0}]}, structures=SimpleNamespace(), plus_stations=SimpleNamespace(), - alignment=SimpleNamespace(model_copy=lambda update: SimpleNamespace(**update)), + alignment=SimpleNamespace( + model_copy=lambda update: design_save.ProfileAlignmentSaveRequest.model_construct( + **update + ) + ), culvert_options=None, uphill=None, cross=None, diff --git a/resources/tester/test_347_2_drainage_live.py b/resources/tester/test_347_2_drainage_live.py index f4eaa8856..0add4a346 100644 --- a/resources/tester/test_347_2_drainage_live.py +++ b/resources/tester/test_347_2_drainage_live.py @@ -77,7 +77,7 @@ def test_build_detail_uses_memory_routing(tmp_path): def _patch_live(monkeypatch, preview_fn): async def prepare(project_id): - return {"contours": [], "streams": [], "contour_key": "k"} + return {"contours": [], "streams": [], "contour_key": "k", "crs": None} async def load(project_id): return DrainageContext(stored_path="x", project_root=Path("."), vertices=VERTICES), ""