refactor(717-3): 일위대가 상세 · 줄 표 나눔 — 자재목록 표(Labor_MatTable) · 서고 구분 고르기(Labor_LibMeta) 떼어 냄 · 동작 같음
- Labor_Rows 671 → 566 줄 · Labor_Detail 700 → 650 줄(717-3 모달 단추 자리) - 낡은 시험 셋 고침: mat_marks · precombo_class = 옮긴 파일을 읽음 · hopyo_screen 의 Detail 「꼭 700 줄」 = 「700 줄 넘지 않음」(나눔으로 줄어듦) - 시험 158 통과 · 1 실패(test_175 B09 겹 대가 = Store_Combo._PER 없음 · 나눔 전부터 · 719-2 몫) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -361,9 +361,7 @@ def test_좌측_판_자리와_권한():
|
||||
|
||||
def test_로직_추가_한_곳과_파일_규칙():
|
||||
detail = _text("M02_MasterTemplete_Labor_Detail.ts")
|
||||
assert (
|
||||
len(detail.splitlines()) == 700
|
||||
) # 줄 수 그대로(361-2 전국 자재 부르는 줄 둘 · 553-5 보조 글 부품 -2 · 704-3 격자 +7)
|
||||
assert len(detail.splitlines()) <= 700 # 700 줄 넘지 않음(717-3 나눔으로 줄어듦)
|
||||
assert "withHopyo(library)," in detail
|
||||
pick = _text("M02_MasterTemplete_Labor_Pick.ts")
|
||||
assert "more?: () => Promise<PickExtra[]>;" in pick and "...later" in pick
|
||||
|
||||
@@ -121,7 +121,7 @@ def test_화면_칸_부품_사용자_줄_로직_줄_같은_칸():
|
||||
marks = _src("M02_MasterTemplete_Labor_MatMarks.ts")
|
||||
assert '"—"' not in marks # 「—」 항목 없음(162-1)
|
||||
assert "e.stopPropagation()" in marks # 줄 누름과 따로
|
||||
rows = _src("M02_MasterTemplete_Labor_Rows.ts")
|
||||
rows = _src("M02_MasterTemplete_Labor_MatTable.ts") # 717-3 자재목록 표 나눔
|
||||
assert "...markCells(mat, on?.mark" in rows and "...markHeads()," in rows
|
||||
assert "...markCells(" in _src("M02_MasterTemplete_Labor_LogicMats.ts")
|
||||
detail = _src("M02_MasterTemplete_Labor_Detail.ts")
|
||||
|
||||
@@ -62,7 +62,7 @@ def test_옛_품셈_분류는_미분류_새_값은_그대로():
|
||||
|
||||
|
||||
def test_화면_원천은_구조물_정의_새_문서는_미분류():
|
||||
detail = (M02 / "M02_MasterTemplete_Labor_Detail.ts").read_text("utf-8")
|
||||
detail = (M02 / "M02_MasterTemplete_Labor_LibMeta.ts").read_text("utf-8") # 717-3 나눔
|
||||
assert "subs = precomboClasses(def);" in detail and "fetchLibLogicSubs" not in detail
|
||||
assert '[...new Set([now ?? "", ...names])]' in detail # 지금 값도 선택지 그대로
|
||||
lib = (M02 / "M02_MasterTemplete_Library_List.ts").read_text("utf-8")
|
||||
|
||||
Reference in New Issue
Block a user