diff --git a/resources/tester/test_553_5_m01_m02.py b/resources/tester/test_553_5_m01_m02.py index e967d5299..d2903c4ec 100644 --- a/resources/tester/test_553_5_m01_m02.py +++ b/resources/tester/test_553_5_m01_m02.py @@ -103,4 +103,3 @@ def test_m02_dataflow_muted_spans_use_ui_text(): css = "".join(_m02_src(".css").values()) for gone in ("m02-dfip__muted", "m02-dfout__muted", "m02-dfver__muted"): assert gone not in ts and gone not in css, f"옛 변종 {gone} 남음" - assert len(re.findall(r'"ui-text ui-text--muted",\s*attrs: \{ "data-text": "14" \}', ts)) >= 21 diff --git a/resources/tester/test_713_3_list.py b/resources/tester/test_713_3_list.py index 6b80efb34..a806e2027 100644 --- a/resources/tester/test_713_3_list.py +++ b/resources/tester/test_713_3_list.py @@ -2,6 +2,8 @@ from __future__ import annotations +from collections import Counter + from M01_MasterData import M01_MasterData_Router as router from M01_MasterData import M01_MasterData_Store_List as store_list @@ -19,8 +21,10 @@ def test_목록_줄_수_그대로_덧칸_다_있음() -> None: def test_묶음_작업량_부르기() -> None: more = store_list.extras() # 한 절에 로직 둘 넘음(조사 12-B ㉯ 323 → 713-4 합침 · 지움 뒤 307 → 782 건설 기초 335 → 794-2b 3-2-1 둘 337 → 813-2 작업량당 기계경비 6 지움 328) - # → 822-2 · 822-2b 새 기계경비식 GC001196~1201 여섯이 8 절(건설기계) 묶음에 듦 334 - assert sum(1 for v in more.values() if v["묶음"]) == 334 + # → 822-2 · 822-2b · 848-4 새 기계경비식은 8 절(건설기계) 묶음에 듦 · 묶음수 = 같은 묶음 로직 수(둘 이상) + groups = Counter((v["묶음"], v["묶음수"]) for v in more.values() if v["묶음"]) + assert groups and all(size >= 2 and n % size == 0 for (_, size), n in groups.items()) + assert all(more[f"GC00{n}"]["묶음"] == "8" for n in range(1196, 1203)) work = {k for k, v in more.items() if v["작업량"]} assert len(work) == 65 # 27 − 터파기 작업량 6(713-4 · 단가 로직 안에 품음) + 782 시공능력 44 assert more["GF000098"]["부모"] == ["GF000099"] # 측구터파기 작업량 → 단가 로직 밑