test(508-1e 싱크 막은 시험 둘): 줄 바꿈에 상관없게 견줌 · 판 되쓰기 = 시작 바이트 그대로

This commit is contained in:
2026-10-22 06:17:45 +09:00
parent 5a0d8b5e4a
commit 17f70a7c63
2 changed files with 3 additions and 6 deletions
@@ -13,7 +13,6 @@ from __future__ import annotations
import asyncio
import json
import subprocess
import urllib.request
from pathlib import Path
@@ -72,10 +71,7 @@ def _drop_test_logs() -> None:
@pytest.fixture(scope="module")
def browser():
sync = pytest.importorskip("playwright.sync_api")
committed = subprocess.run(
["git", "show", "HEAD:resources/master_template/calc_sites.json"],
cwd=ROOT, capture_output=True, check=True,
).stdout # fmt: skip
committed = BOARD.read_bytes() # 시작 때 파일 바이트 그대로(줄끝 포함)
try:
with sync.sync_playwright() as play:
chrome = play.chromium.launch(channel="msedge", headless=True)
+2 -1
View File
@@ -9,6 +9,7 @@ TS 셈은 `helper_390_5_snap_step_ops.cjs`(Node) · 파이썬 짝 거울 · 저
import json
import random
import re
import subprocess
import sys
from pathlib import Path
@@ -225,4 +226,4 @@ def test_서버_측점_셈이_저장_간격을_씀() -> None:
assert "stationSnapStep: step === 10 ? 10 : null" in stage # 옛 초안 0.1 · 1 m = null(505-2)
assert "saved: () => plan" in page and "...snapOptions(inputs.route, plan)" in page
apply = (B05 / "B05_Profile_UI_RouteEdit_Apply.ts").read_text(encoding="utf-8")
assert "stationSnap: true, stationSnapStep: null" in apply # 추천 = 측점 No.
assert re.search(r"stationSnap: true,\s*stationSnapStep: null", apply) # 추천 = 측점 No.