test(858 5-8 ③): 서고 [중복 찾기] 소스 글자 시험 걷음

- `test_733_3_library_same_screen::test_나무_메뉴_서버_길_짝` 지움 — 라우터 · 화면 · main.py 소스에 길 글자가 그대로 있는지만 봄(글자 시험 규칙) · 같은 길 동작은 test_733_3_library_same_merge · test_858_shelf_golden(합치기 · 되돌림 길 답 지문)이 봄
- 남김: test_부품만_씀(부품 상자 규칙 시험) · test_721_find_pick::test_736_2(Find_Pick · Labor_Unlinked 글자 섞임 — 시험 한 바퀴 창 몫과 겹쳐 손 안 댐)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 10:10:46 +09:00
co-authored by Claude Opus 5.5
parent d4e3affc1f
commit 902e6e47b7
@@ -1,4 +1,4 @@
"""서고 [중복 찾기] 화면 지킴(PLAN 733-3) — 부품 상자만 · 날 색 없음 · 나무 메뉴 · 서버 길 짝."""
"""서고 [중복 찾기] 화면 지킴(PLAN 733-3) — 부품 상자만 · 날 색 없음."""
import re
from pathlib import Path
@@ -18,15 +18,3 @@ def test_부품만_씀():
assert not RAW_COLOR.search(CSS)
for sel in (".ui-btn", ".ui-table", ".ui-badge", "button", "table", "th", "td"):
assert not re.search(rf"(^|[\s,]){re.escape(sel)}\b", CSS), f"CSS 가 {sel} 꼴을 만짐"
def test_나무_메뉴_서버_길_짝():
side = (M02 / "M02_MasterTemplete_UI_Side_Library.ts").read_text(encoding="utf-8")
assert "openLibrarySame" in side and "sameLabel()" in side
router = (M02 / "M02_Library_Same_Router.py").read_text(encoding="utf-8")
for tail in ("", "/merge", "/undo"):
assert f'"/layers/{{layer}}/{{kind}}-same{tail}"' in router
assert "`/layers/${layer}/${kind}-same${tail}" in TS
assert '"/merge"' in TS and '"/undo"' in TS
main = (ROOT / "main.py").read_text(encoding="utf-8")
assert "M02_MasterTemplete.M02_Library_Same_Router" in main