From a732d8d52183552d732e2a629e2e806b626833d1 Mon Sep 17 00:00:00 2001 From: YueGuobin Date: Tue, 14 Jul 2026 00:49:51 +0800 Subject: [PATCH] test(marker): include marker_definitions in project-asdict expectations project.asdict() and project_to_topology() gained a marker_definitions key. Two tests that assert exact dict equality needed the new field. --- tests/controller/test_project.py | 1 + tests/controller/test_topology.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/controller/test_project.py b/tests/controller/test_project.py index 24f9314ce..b0202c01f 100644 --- a/tests/controller/test_project.py +++ b/tests/controller/test_project.py @@ -82,6 +82,7 @@ async def test_json(): "drawing_grid_size": 25, "supplier": None, "variables": None, + "marker_definitions": {}, "created_by": None } diff --git a/tests/controller/test_topology.py b/tests/controller/test_topology.py index 85492596c..bc87c1ee3 100644 --- a/tests/controller/test_topology.py +++ b/tests/controller/test_topology.py @@ -60,6 +60,7 @@ async def test_project_to_topology_empty(tmpdir): "supplier": None, "variables": None, "version": __version__, + "marker_definitions": {}, "created_by": None }