test(627-1): 낡은 시험 6 고침 — test_283 손 고침 저장 · test_347_2 배수유역 실시간 가짜값 현행화
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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), ""
|
||||
|
||||
Reference in New Issue
Block a user