diff --git a/tests/tools/test_graphs.py b/tests/tools/test_graphs.py index 5af77939..f6950656 100644 --- a/tests/tools/test_graphs.py +++ b/tests/tools/test_graphs.py @@ -312,7 +312,7 @@ def test_nx_iron_edges(): nx_multi.add_edge(0, 1, geom=line_geom) nx_out = graphs.nx_iron_edges(nx_multi) out_geom = nx_out[0][1][0]["geom"] - assert list(out_geom.coords) == [(0.0, 0.0), (0.0, 20.0)] + assert list(out_geom.coords) == [(0.0, 0.0), (0.0, 10.0), (0.0, 20.0)] # 2 - jogged line should be preserved line_geom = geometry.LineString([[0, 0], [0, 10], [10, 10], [10, 20]]) nx_multi[0][1][0]["geom"] = line_geom