diff --git a/resources/tester/test_804_2_line_stack.py b/resources/tester/test_804_2_line_stack.py index dedd53bee..6755f524f 100644 --- a/resources/tester/test_804_2_line_stack.py +++ b/resources/tester/test_804_2_line_stack.py @@ -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 기계 줄 = 기계 창(조회 · 바꾸기 · 고쳐 쓰기) diff --git a/resources/tester/test_814_1_import_decisions.py b/resources/tester/test_814_1_import_decisions.py index 9e0bd47c2..ee360de41 100644 --- a/resources/tester/test_814_1_import_decisions.py +++ b/resources/tester/test_814_1_import_decisions.py @@ -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) diff --git a/resources/tester/test_m02_hopyo_screen.py b/resources/tester/test_m02_hopyo_screen.py index 09a56fc52..36d536b5b 100644 --- a/resources/tester/test_m02_hopyo_screen.py +++ b/resources/tester/test_m02_hopyo_screen.py @@ -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 # 결과 층 = 쓸 수 있는 층만