From f6c9008550daa0c4aa994b7f5ed6156eb6a62c66 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Wed, 18 Nov 2026 13:55:43 +0900 Subject: [PATCH] =?UTF-8?q?test(855-E=202-E4=20=E3=89=AE-3):=20test=5F717?= =?UTF-8?q?=5F2a=20=EB=AA=A9=EB=A1=9D=20=EC=A4=84=20=EA=B2=AC=EB=B3=B8?= =?UTF-8?q?=EC=9D=84=20=EC=83=88=20=EA=BC=B4=20SK=20=EB=A1=9C=20=E2=80=94?= =?UTF-8?q?=20=EC=98=9B=20=EC=B9=B8=20=EA=B2=AC=EB=B3=B8=20=EA=B1=B7?= =?UTF-8?q?=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - test_sangeun_row_base_edits_users: 3a7320ac7(855 L2 ⓑ-3 · 옛 칸 SK 겹침 = 못 펼침 OLD_WHY) 뒤부터 빨강 — 옛 칸(덮개 · 뺀줄 · 더한줄) 견본 SK 를 바탕 참조로 펼치지 못해 목록 줄 바탕이 SK 키로 나옴 - 살아 있는 뜻(목록 줄 바탕 = 기초 「키 이름」 · 바탕 참조 SK 도 저장 때 펼쳐 기초 이름 · 쓰는곳수 · 제목 · 단위 · 바탕 없음 = None)을 새 꼴 견본(바탕 로직만)으로 · 옛 칸 고친 줄 수(2 · 3) 단언 지움 Co-Authored-By: Claude Opus 5.5 --- resources/tester/test_717_2a_sangeun_list.py | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/resources/tester/test_717_2a_sangeun_list.py b/resources/tester/test_717_2a_sangeun_list.py index e08d30a40..a7bb54008 100644 --- a/resources/tester/test_717_2a_sangeun_list.py +++ b/resources/tester/test_717_2a_sangeun_list.py @@ -25,23 +25,20 @@ def _row(folder, kind, key): def test_sangeun_row_base_edits_users(world): + """새 꼴 SK(바탕 로직 · 고침 = 수식 문서) — 옛 칸(덮개 · 뺀줄 · 더한줄) 견본은 855 L2 ⓑ-3 + (3a7320ac7 · 옛 칸 SK 겹침 = 못 펼침) 뒤 걷음.""" mine = world["personal"] - a = _sk(mine, 바탕={"로직": PCT}, 덮개={"labor:LB000036#0": {"qty": 0.5}}, 뺀줄=["pct:x#0"]) + a = _sk(mine, 바탕={"로직": PCT}) from M01_MasterData import M01_MasterData_Doc as m01_doc name = m01_doc.docs()[PCT]["이름"] # 기초 이름 = 수식 문서(855 L3) row = _row(mine, "sangeun", a) assert row["바탕"] == f"{PCT} {name}".strip() - assert row["고친줄수"] == 2 and row["쓰는곳수"] == 0 + assert row["고친줄수"] == 0 and row["쓰는곳수"] == 0 assert row["제목"] == "목록 시험" and row["단위"] == "㎡" - # 바탕 참조 SK(740-1) = 펼쳐 담음 → 바탕 = 기초 · 고친 줄 = 겹친 덮개 · 뺀줄 + 더한줄 · 쓰는 곳 0 - b = _sk( - mine, - 바탕={"참조": {**MINE, "키": a}}, - 더한줄=[{"종류": "인력", "요소": "LB000036", "이름": "보통인부", "단위": "인", "수량": 1}], - ) - row_b = _row(mine, "sangeun", b) - assert row_b["바탕"] == f"{PCT} {name}".strip() and row_b["고친줄수"] == 3 + # 바탕 참조 SK(740-1) = 저장 때 펼쳐 담음 → 바탕 = 기초 · 쓰는 곳 0 + b = _sk(mine, 바탕={"참조": {**MINE, "키": a}}) + assert _row(mine, "sangeun", b)["바탕"] == f"{PCT} {name}".strip() assert _row(mine, "sangeun", a)["쓰는곳수"] == 0 # 바탕 없음 c = _sk(mine)