fix(445 B06 관 폼): 관 초안에 관 id 실음 — 옮긴 관 측점이 앞 설계(지반 · 메모 · 조절)를 잃지 않게
- B06 구조물 패널이 관 초안을 쓸 때 id 를 빠뜨려 측점 열쇠가 pipe:<id> → pipe:pipe-<누가거리> 로 바뀜 · 갈아끼움이 앞 횡단을 못 찾아 새 기본 설계(리핑암 · 메모 없음)로 섬(화면 실측 관 351 → 356) - PipeFacilityItem 에 id · 불러올 때 · 초안 쓸 때 실음(B05 초안과 같은 꼴) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QyNXY2TUKXCFMwAca2APG
This commit is contained in:
@@ -249,3 +249,15 @@ def test_H5_노선_저장_뒤_본문_M7_kindreset_옮김():
|
||||
assert 'writeState("kindreset", rekey("revetx", resets), projectId)' in carry
|
||||
idle = keys[keys.index("function moveIdleStates") :]
|
||||
assert 'writeState("kindreset", move(resets), projectId)' in idle
|
||||
|
||||
|
||||
def test_H2_B06_관_폼_초안이_관_id_를_실음():
|
||||
"""B06 관 폼이 초안에 관 id 를 빠뜨리면 측점 열쇠가 `pipe:p…` → `pipe:pipe-356.00` 으로 바뀌어
|
||||
옮긴 측점이 앞 설계(지반 · 메모 · 조절)를 잃음 — 화면 실측(관 351 → 356)."""
|
||||
panel = (ROOT / "B06_Section" / "B06_Section_UI_Page_Structures_Panel.ts").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
load = panel[panel.index("pipeFacilities = (pendingPipes ?? pipeResponse.pipe_points)") :]
|
||||
assert "id: pipe.id" in load[:200]
|
||||
persist = panel[panel.index("function persistPipes") :]
|
||||
assert "...(pipe.id ? { id: pipe.id } : {})" in persist[:400]
|
||||
|
||||
Reference in New Issue
Block a user