test(835-2): 낡은 시험 셋 — 지금 꼴에 맞춤(코드 흠 없음)

- test_814_1 test_oil_power_material_links — 재료 「지역」 칸이 830-11 에서 「시도 · 시군구」 두 칸으로 바뀜 → 시도 = 서울로 봄
- test_804_2 test_들여쓰기_수준 — 「줄 쌓기 고침에 기계 글 없음」 은 827-1 기계 창(openMachineWindow) 전 꼴 → 기계 창 있음으로 봄
- test_m02_hopyo_screen test_좌측_판_자리와_권한 — 불러오기 파일 고르기 accept 가 810-3 · 814-1 에서 원파일(.estx · .stc)까지 → 지금 글로 봄

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 12:04:13 +09:00
co-authored by Claude Opus 5.5
parent 4af9edb381
commit 9a8ab3e84a
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -365,4 +365,5 @@ def test_들여쓰기_수준():
assert "stackLevels(items)" in out and '"--lstk-depth", String(r.lv)' in out
assert "rows(sub, got, h, depth + 1, path, lv + 1)" in out # 펼친 블록 = 그 줄 + 1
edit = _src("A00_Common/line_stack_edit.ts")
assert "openStackPick" in edit and "/links" not in edit and "Machine" not in edit
assert "openStackPick" in edit and "/links" not in edit
assert "openMachineWindow" in edit # 827-1 기계 줄 = 기계 창(조회 · 바꾸기 · 고쳐 쓰기)
@@ -166,7 +166,10 @@ def test_oil_power_material_links() -> None:
assert got[dim.OPTION]["연결"]["값"] == "일반용(갑)Ⅰ 저압"
ply, _ = link.m01("재료", {"이름": "합판(내수)", "규격": "12t×1220×2440mm", "단위": "㎡"})
nail, _ = link.m01("재료", {"이름": "철못", "규격": "N 25", "단위": "kg"})
assert (whole.get(ply)["이름"], whole.get(ply)["지역"]) == ("합판(내수)", "서울") and whole.get(
assert (whole.get(ply)["이름"], whole.get(ply)["시도"]) == (
"합판(내수)",
"서울",
) and whole.get( # 830-11 지역 → 시도 · 시군구
nail
)["규격"] == "N 25"
assert link.m01("재료", {"이름": "접착제", "규격": "", "단위": "kg"}) == (None, None)
+2 -1
View File
@@ -35,7 +35,8 @@ def test_좌측_판_자리와_권한():
assert "buildHopyoLedger" not in hopyo_side and "data-hopyo-ledger" not in hopyo_side
assert not (M02 / "M02_MasterTemplete_Hopyo_Ledger.ts").exists() # 옛 [별칭 장부] 걷음(815-2)
imp = _text("M02_MasterTemplete_Hopyo_Import.ts")
assert 'accept: ".xls,.xlsx"' in hopyo_side and "input.hidden = true;" in hopyo_side
assert 'accept: ".xls,.xlsx,.estx,.stc"' in hopyo_side # 810-3 · 814-1 원파일도
assert "input.hidden = true;" in hopyo_side
choose = hopyo_side.split("async function choose()")[1].split("input.addEventListener")[0]
assert "input.click();" in choose # 누름 하나 — 바로 파일 고르기 창
assert "accessFor(layer, null, user).canWrite" in imp # 결과 층 = 쓸 수 있는 층만