fix(M02): 39 통합 뒤 엇갈림 — 일위대가 합 칸 없을 수 있음(picker) · 새 열 = 빈 일위대가 · Structure.ts readTemplate 뺌 시험 맞춤
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BVPp2o6Mh2FZJr72yW3ofZ
This commit is contained in:
@@ -75,7 +75,9 @@ def test_서버_목록_칸_수정일_labor(world):
|
||||
ditch, wall = t.item(["배수", "측구"]), t.item(["옹벽"])
|
||||
assert set(ditch["수정일"]) >= {"structure", "area"}
|
||||
assert len(ditch["수정일"]["structure"]) == 19 # 초 단위 ISO
|
||||
assert ditch["labor"] is None # 일위대가 파일 없음
|
||||
assert (
|
||||
ditch["labor"]["로직수"] == 0 and ditch["labor"]["합계"] is None
|
||||
) # 새 열 = 빈 일위대가(39-1b)
|
||||
(root / "labor").mkdir(exist_ok=True)
|
||||
doc = {
|
||||
"일위대가번": "SU-000001",
|
||||
|
||||
@@ -46,7 +46,7 @@ def test_소스가_700줄을_넘지_않음():
|
||||
[
|
||||
(
|
||||
"M02_MasterTemplete_Api_Fetch.ts",
|
||||
["createStructure", "fetchStructureNumbers", "readTemplate"],
|
||||
["createStructure", "fetchStructureNumbers"], # readTemplate 은 39-4 에서 뺌
|
||||
PANEL,
|
||||
),
|
||||
# 산출근거 저장은 컨테이너가 안 함 — [산출근거 수정] 이 여는 메인 칸 전체 편집이 함
|
||||
|
||||
@@ -301,8 +301,8 @@ export async function laborOf(
|
||||
번호: null,
|
||||
로직: got.줄.map((line) => line.로직),
|
||||
자재: got.자재.length,
|
||||
base: got.기준합.계 ?? null,
|
||||
reflected: got.반영합.계 ?? null,
|
||||
base: got.기준합?.계 ?? null,
|
||||
reflected: got.반영합?.계 ?? null,
|
||||
gaps: 0,
|
||||
stuck: got.줄.filter((line) => line.까닭).length,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user