test(591-1): D04 연결 설계속도 시험 = 씨앗 함수 걷음 반영(590-1 이 seed_design_speed 지움 · 낡은 부름 → 소스에 design_speed 없음 확인)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-30 10:04:36 +09:00
co-authored by Claude Opus 5.5
parent 7d71230fca
commit c58057aff3
+3 -5
View File
@@ -107,8 +107,6 @@ def test_화면_지도_출처():
assert "DesignSpeed" not in page
def test_D04_연결_설계속도_안_넘김(monkeypatch):
from D04_PlanConfirm import D04_PlanConfirm_Link as link
monkeypatch.setattr(link, "get_db_pool", lambda: pytest.fail("빈 설계속도는 씨앗 안 씀"))
asyncio.run(link.seed_design_speed("road-id", None)) # 예정노선 = 빈 값 → B05 기본 20
def test_D04_연결_설계속도_안_넘김():
link = (ROOT / "D04_PlanConfirm" / "D04_PlanConfirm_Link.py").read_text(encoding="utf-8")
assert "design_speed" not in link # 예정노선 설계속도 씨앗 걷음(590-1) → B05 기본 20