test(M02): 층 길 접두어 시험 — 시스템 층도 /layers/system/… 꼴 기대 (39-8 H2 뒤)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYJJRCfHfdCGNhmXTjQKV7
This commit is contained in:
@@ -206,7 +206,9 @@ def test_층_단추_셋_남의_회사_사람_나무():
|
||||
|
||||
def test_층_길_접두어와_고정_풀림():
|
||||
api = _text(M02 / "M02_MasterTemplete_Api_Fetch.ts")
|
||||
assert 'activeLayer === "system" ? "" : `/layers/${activeLayer}`' in api
|
||||
# 시스템 층도 층 길 한 벌(39-8 H2 · 옛 /templates/* 는 시스템 관리자 전용)
|
||||
assert "owned(activeLayer, `/layers/${activeLayer}${path}`)" in api
|
||||
assert 'activeLayer === "system" ? "" :' not in api
|
||||
for path in ("/structures/numbers", "/structure-combos"):
|
||||
assert re.search(rf'scoped\(\s*[`"]{re.escape(path)}', api), path
|
||||
assert "/layers/personal/items/copy" in api
|
||||
|
||||
Reference in New Issue
Block a user