diff --git a/resources/tester/test_283_route_change_reset.py b/resources/tester/test_283_route_change_reset.py index bcd6884f2..651d75fbe 100644 --- a/resources/tester/test_283_route_change_reset.py +++ b/resources/tester/test_283_route_change_reset.py @@ -310,7 +310,11 @@ def test_한_본문_손_고침은_보낸_칸을_씀(monkeypatch): pipes={"points": [{"chainage_m": 50.0}]}, structures=SimpleNamespace(), plus_stations=SimpleNamespace(), - alignment=SimpleNamespace(model_copy=lambda update: SimpleNamespace(**update)), + alignment=SimpleNamespace( + model_copy=lambda update: design_save.ProfileAlignmentSaveRequest.model_construct( + **update + ) + ), culvert_options=None, uphill=None, cross=None, diff --git a/resources/tester/test_347_2_drainage_live.py b/resources/tester/test_347_2_drainage_live.py index f4eaa8856..0add4a346 100644 --- a/resources/tester/test_347_2_drainage_live.py +++ b/resources/tester/test_347_2_drainage_live.py @@ -77,7 +77,7 @@ def test_build_detail_uses_memory_routing(tmp_path): def _patch_live(monkeypatch, preview_fn): async def prepare(project_id): - return {"contours": [], "streams": [], "contour_key": "k"} + return {"contours": [], "streams": [], "contour_key": "k", "crs": None} async def load(project_id): return DrainageContext(stored_path="x", project_root=Path("."), vertices=VERTICES), ""