From 33687f820bf163098fea0a17ecae2306b988eeaf Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sun, 8 Nov 2026 21:16:07 +0900 Subject: [PATCH] =?UTF-8?q?test(811-2):=20=EB=82=A1=EC=9D=80=20=EC=8B=9C?= =?UTF-8?q?=ED=97=98=20=EA=B3=A0=EC=B9=A8=20-=20=EC=98=AE=EA=B8=B4=20?= =?UTF-8?q?=EB=92=A4=20=EB=B3=B4=EA=B8=B0=20=EA=B2=B0=EA=B3=BC=20=EB=B9=84?= =?UTF-8?q?=EB=A9=B4=20=ED=86=B5=EA=B3=BC=20+=20=EB=A7=88=EC=8A=A4?= =?UTF-8?q?=ED=84=B0=20=EC=B8=B5=20=EB=A1=9C=EC=A7=81=20=EC=A4=84=200=20?= =?UTF-8?q?=EA=B2=80=EC=82=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- resources/tester/test_811_1_labor_ref.py | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/resources/tester/test_811_1_labor_ref.py b/resources/tester/test_811_1_labor_ref.py index a47daaf93..1f93ca48e 100644 --- a/resources/tester/test_811_1_labor_ref.py +++ b/resources/tester/test_811_1_labor_ref.py @@ -179,8 +179,22 @@ def test_보기_임시_사본_공유_storage_안_씀(world, tmp_path): ) def test_실제_저장본_전수_보기_같음(tmp_path): """공유 storage 층 문서 전부 — 임시 사본에서 옮겨 봄(쓰지 않음) · 줄마다 금액 같음.""" - rows = skrow.migrate(False, work=tmp_path) - assert rows and all(r["같음"] for r in rows), [r["키"] for r in rows if not r["같음"]] + rows = skrow.migrate(False, work=tmp_path) # 이미 옮겼으면 옮길 줄 0 → 통과 + assert all(r["같음"] for r in rows), [r["키"] for r in rows if not r["같음"]] + + +def test_마스터_층_단가산출_로직_줄_0(): + """옮긴 뒤 상태 — 마스터 층 일위대가 · 조합의 담은로직에 로직 줄 0(참조 줄은 SK · SP · SC).""" + for kind in skrow.KINDS: + for where, path in layers.layer_files(kind): + if where != "마스터": + continue + lines = [ + x + for x in json.loads(path.read_bytes()).get("담은로직") or [] + if isinstance(x, dict) + ] + assert not [x for x in lines if x.get("로직")], (kind, path.stem) def test_화면_줄_넣기_SK_사본_참조_부품():