test(830-8): 재료 줄 요소조각 시험이 이름 끝 지역 글에 기대지 않음 — 재료 통합 뒤 낡은 기대 정리

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-14 19:16:15 +09:00
co-authored by Claude Sonnet 5.5
parent 927b093dbc
commit d690fa106f
+1 -1
View File
@@ -539,7 +539,7 @@ def _mat_piece(lines: list[dict], name: str) -> dict:
def test_재료_줄_요소조각은_잡힌_품목_이름과_MT_참조() -> None:
piece = _mat_piece(_text_of("GF000159"), "결속선 0.9㎜")
assert piece["글"].startswith("어닐링철선(결속선)") and piece["글"].endswith("서울")
assert piece["글"].startswith("어닐링철선(결속선)")
assert piece["참조"] == {"테이블": "MT", "키": "MT000209"}
auto = {k: v for k, v in store.auto("GF000159")["값"].items() if v is not None}
assert store.text("GF000159", auto)["계"] == store.calc("GF000159", auto)["sums"]["계"]