From ddb72a424a5646776fb453974a192e78e0ebf3c9 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Wed, 18 Nov 2026 11:59:17 +0900 Subject: [PATCH] =?UTF-8?q?test(855-E=20L3=20=EB=AF=B8=EB=A6=AC):=20?= =?UTF-8?q?=EC=9E=90=EC=B2=B4=20=EA=B8=B0=EC=B4=88=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=C2=B7=20=EB=B6=80=ED=92=88=20=EB=AA=A9=EB=A1=9D=20=EC=88=98=20?= =?UTF-8?q?=C2=B7=20=EC=93=B0=EA=B8=B0=20=EB=AA=A8=EC=96=91=20=EA=B2=AC?= =?UTF-8?q?=EB=B3=B8=EC=9D=84=20=EC=88=98=EC=8B=9D=20=EB=AC=B8=EC=84=9C=20?= =?UTF-8?q?=C2=B7=20=EC=9A=94=EC=86=8C=20=ED=8C=8C=EC=9D=BC=EB=A1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 로직 JSON 없는 판에서 깨지던 다섯째 묶음. - test_m01_make 자체 기초 만들기 — 파일 있음 확인 = 수식_자체.json(정본) - test_813_2 목록에서 뺀 부품 수 — 기초 수 = 수식 문서 수 - test_m01_api 쓰기 모양 견본 — 로직 파일 → 계수 파일 지금 판 · 없는 판 둘 다 통과(813-2 표지 · 이름 · 변환기 대조 셋 = 빌더 은퇴 몫 · m01_api 옛 시험계산 · 로직 파일 부분 고침 = 2-E4 · L3 둘째 박자 몫) · 관련 22 파일 189 통과(717_2a 하나 = 앞 커밋에 적은 지금 판 실패) Co-Authored-By: Claude Opus 5.5 --- resources/tester/test_813_2_parts.py | 3 ++- resources/tester/test_m01_api.py | 2 +- resources/tester/test_m01_make.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/tester/test_813_2_parts.py b/resources/tester/test_813_2_parts.py index 017bf00dc..391bbffa6 100644 --- a/resources/tester/test_813_2_parts.py +++ b/resources/tester/test_813_2_parts.py @@ -71,7 +71,8 @@ def test_목록에서_뺌_키로_열림_부르기_그대로(): tags = parts.parts() m01 = {x["키"] for x in m01_router.get_logics()["logics"]} m02 = {x["키"] for x in combos.get_logics()["logics"]} - assert not (m01 | m02) & set(tags) and len(m01) == len(m02) == len(_rows()) - len(tags) + total = len(doc_store.docs()) # 기초 = 수식 문서(855 L3) + assert not (m01 | m02) & set(tags) and len(m01) == len(m02) == total - len(tags) for k in ("GC000267", "GF000088", "GC001191"): assert doc_store.read(k)["문서"]["부품"] == tags[k] assert m01_router.get_logic(k)["logic"]["키"] == k diff --git a/resources/tester/test_m01_api.py b/resources/tester/test_m01_api.py index 8439e568c..bf051af7f 100644 --- a/resources/tester/test_m01_api.py +++ b/resources/tester/test_m01_api.py @@ -295,7 +295,7 @@ def test_단가_자동_요소_찾기_저장전_시험계산(client: TestClient) def test_쓰기_모양은_읽은_값과_같음() -> None: for name in ( "소요량_건설품셈_13장_플랜트설비공사.json", - "로직_건설품셈_02장_하천공사.json", + "계수_건설품셈_08장_건설기계.json", # 옛 견본 로직 파일은 L3 에서 걷음 LABOR, ): data = json.loads((REAL / name).read_text(encoding="utf-8"), parse_float=Decimal) diff --git a/resources/tester/test_m01_make.py b/resources/tester/test_m01_make.py index 89fa80ee1..89c095ef8 100644 --- a/resources/tester/test_m01_make.py +++ b/resources/tester/test_m01_make.py @@ -135,7 +135,7 @@ def test_자체_로직_만들기_본뜨기_고치기_지우기(client: TestClien made = _new("현장") assert made["key"].startswith("GX") and made["file"] == make.OWN assert made["logic"]["구분"] == "자체" and made["logic"]["소유"] == "현장" - assert (store.FOLDER / make.OWN).is_file() + assert (doc_store.folder() / "수식_자체.json").is_file() # 자체 기초 정본 = 수식 문서(855 L3) again = _new("현장") assert again["key"] != made["key"] # 원문번호가 같아도 키는 하나씩