From 17f70a7c634ed781944560dbb9e9033e76dd85b9 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Thu, 22 Oct 2026 06:17:45 +0900 Subject: [PATCH] =?UTF-8?q?=EF=BB=BFtest(508-1e=20=EC=8B=B1=ED=81=AC=20?= =?UTF-8?q?=EB=A7=89=EC=9D=80=20=EC=8B=9C=ED=97=98=20=EB=91=98):=20?= =?UTF-8?q?=EC=A4=84=20=EB=B0=94=EA=BF=88=EC=97=90=20=EC=83=81=EA=B4=80?= =?UTF-8?q?=EC=97=86=EA=B2=8C=20=EA=B2=AC=EC=A4=8C=20=C2=B7=20=ED=8C=90=20?= =?UTF-8?q?=EB=90=98=EC=93=B0=EA=B8=B0=20=3D=20=EC=8B=9C=EC=9E=91=20?= =?UTF-8?q?=EB=B0=94=EC=9D=B4=ED=8A=B8=20=EA=B7=B8=EB=8C=80=EB=A1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/tester/test_309_2_calc_sites_browser.py | 6 +----- resources/tester/test_390_5_snap_step_ops.py | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/resources/tester/test_309_2_calc_sites_browser.py b/resources/tester/test_309_2_calc_sites_browser.py index 804eee455..fce9ca2c9 100644 --- a/resources/tester/test_309_2_calc_sites_browser.py +++ b/resources/tester/test_309_2_calc_sites_browser.py @@ -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) diff --git a/resources/tester/test_390_5_snap_step_ops.py b/resources/tester/test_390_5_snap_step_ops.py index 6959c9fde..8afb1bb0f 100644 --- a/resources/tester/test_390_5_snap_step_ops.py +++ b/resources/tester/test_390_5_snap_step_ops.py @@ -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.