From 7f1695c1a7d0fee0c1869f7d4e089cf105b4d8ed Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sun, 15 Nov 2026 14:30:39 +0900 Subject: [PATCH] =?UTF-8?q?test(804-4):=20=EB=8B=A8=EA=B0=80=EA=B0=B1?= =?UTF-8?q?=EC=8B=A0=20=EC=8B=9C=ED=97=98=EC=9D=84=20836-2=20=EC=9D=B4?= =?UTF-8?q?=ED=9B=84=20=EA=BC=B4=EB=A1=9C=20=E2=80=94=20=EA=B0=9C=EC=9D=B8?= =?UTF-8?q?=20=EC=B8=B5=20=3D=20=EC=9E=90=EB=8F=99=20=EB=94=B0=EB=9D=BC?= =?UTF-8?q?=EC=98=B4=20=C2=B7=20=ED=94=84=EB=A1=9C=EC=A0=9D=ED=8A=B8=20?= =?UTF-8?q?=EC=B8=B5=20=3D=20[=EB=8B=A8=EA=B0=80=20=EA=B0=B1=EC=8B=A0]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 낡은 시험(코드 흠 아님): 개인 층은 M01 단가가 열 때 이미 따라와 바뀐자원이 비는 것이 지금 꼴 - 개인 층 단언 = 바뀐자원 없음 · 후 계가 이미 오름 / 프로젝트 층(사본 복사) 단언 = 바뀐자원 · 후 계 · 문서 그대로(기존 뜻) Co-Authored-By: Claude Sonnet 5.5 --- resources/tester/test_804_4_line_stack_take.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/tester/test_804_4_line_stack_take.py b/resources/tester/test_804_4_line_stack_take.py index 6ada98c13..f129f2fae 100644 --- a/resources/tester/test_804_4_line_stack_take.py +++ b/resources/tester/test_804_4_line_stack_take.py @@ -12,6 +12,7 @@ from __future__ import annotations import json +import shutil from decimal import Decimal from pathlib import Path @@ -195,10 +196,16 @@ def test_권한_저장_단가갱신(world, monkeypatch): g = _into(read["문서"], _take(me, _rid(sc))) with store.at(me): again = _norm(path.save(other, {"문서": g["문서"], "판": read["판"]})) + proj = me.parent / "p804" / "templates" # 프로젝트 층 사본 = 자동 따라옴 없음(836-2) + (proj / "sangeun").mkdir(parents=True) + shutil.copy(me / "sangeun" / f"{other}.json", proj / "sangeun" / f"{other}.json") row = dict(_live().get(LB)) row["값"] = row["값"] + 1000 _fake(monkeypatch, [row]) - with store.at(me): + with store.at(me): # 개인 층 = M01 자동 따라옴 — 금액이 이미 올라 있어 갈 바뀐자원 없음 + auto = _norm(path.preview(other, {"할일": "단가갱신"})) + assert not auto.get("바뀐자원") and auto["후"]["계"] > again["셈"]["계"] + 1000 * 0.3 + with store.at(proj): # 프로젝트 층 = [단가 갱신] 으로만 따라감 got = _norm(path.preview(other, {"할일": "단가갱신"})) assert any(x["키"] == LB for x in got["바뀐자원"]) assert (