Merge remote-tracking branch 'origin/sub_laptop_7' into main_laptop_1
This commit is contained in:
@@ -96,3 +96,21 @@ def test_screen_shows_dropped_lines():
|
||||
"""화면 — 빠진 줄 띠(이름 · 까닭) · 금액 없는 줄 계산서 금액 —."""
|
||||
ts = (ROOT / "M02_MasterTemplete" / "M02_MasterTemplete_Sangeun_Detail.ts").read_text("utf-8")
|
||||
assert "ans?.빠진줄" in ts and 'L("M02_SangeunGap")' in ts
|
||||
|
||||
|
||||
def test_no_base_common_option_seoul(world): # noqa: F811
|
||||
"""725-6 — 바탕 없는 SK 도 공통 옵션(지역 서울) 따라감 = M01 셈."""
|
||||
doc = _sk(world["personal"], 더한줄=[GF_LINE])
|
||||
got = _run(world["personal"], doc, {"지역": "서울"})
|
||||
assert got["빠진줄"] == [], got
|
||||
assert got["기준"], {k: v for k, v in got.items() if k != "줄"}
|
||||
assert got["기준"]["계"] == pytest.approx(_m01(GF, {"지역": "서울", "보정작업": "해당 없음"}))
|
||||
assert round(float(got["기준"]["계"]), 2) == 5297.37
|
||||
|
||||
|
||||
def test_screen_no_base_inputs_and_gap_dash():
|
||||
"""725-6 화면 — 바탕 없음 = 더한줄 로직 입력 모음 칸 · 못 셈 줄 금액 「—」 + 까닭 풍선."""
|
||||
ts = (ROOT / "M02_MasterTemplete" / "M02_MasterTemplete_Sangeun_Detail.ts").read_text("utf-8")
|
||||
assert "입력: extra" in ts and "syncExtra" in ts and "if (!base) void recalc()" in ts
|
||||
ho = (ROOT / "M01_MasterData" / "M01_MasterData_UI_LogicLab_Ho.ts").read_text("utf-8")
|
||||
assert "e.line?.까닭 ? gapCell" in ho and "title: why" in ho
|
||||
|
||||
Reference in New Issue
Block a user