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"] # 원문번호가 같아도 키는 하나씩