"""734-1 계산식 열 단추 지킴 시험 — 낮은 단(20) · 갈래 색 · 풍선 글(화면 · 서버 없음).""" from pathlib import Path ROOT = Path(__file__).resolve().parents[2] M01 = ROOT / "M01_MasterData" def _t(p: Path) -> str: return p.read_text(encoding="utf-8") def test_갈래_색은_공통_값만(): css = _t(ROOT / "ui_template" / "ui_template_button.css") head = css[css.index("갈래 색(tone)") :] assert '[data-tone="option"]' in head and "var(--color-warning)" in head assert '[data-tone="link"]' in head and "var(--color-info)" in head assert "#" not in head.split("*/", 1)[1] # 날 색 값 없음