From 801547983a3f5119404ad97c2bdcc1ba52536458 Mon Sep 17 00:00:00 2001 From: grossmj Date: Fri, 13 Apr 2018 17:04:19 +0800 Subject: [PATCH] Fix tests. --- tests/controller/test_project.py | 3 ++- tests/controller/test_topology.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/controller/test_project.py b/tests/controller/test_project.py index deb61b16..77f8e799 100644 --- a/tests/controller/test_project.py +++ b/tests/controller/test_project.py @@ -75,7 +75,8 @@ def test_json(tmpdir): "show_grid": False, "show_interface_labels": False, "show_layers": False, - "snap_to_grid": False + "snap_to_grid": False, + "grid_size": 0, } diff --git a/tests/controller/test_topology.py b/tests/controller/test_topology.py index 01dbf245..b5d4b12f 100644 --- a/tests/controller/test_topology.py +++ b/tests/controller/test_topology.py @@ -45,6 +45,7 @@ def test_project_to_topology_empty(tmpdir): "show_interface_labels": False, "show_layers": False, "snap_to_grid": False, + "grid_size": 0, "topology": { "nodes": [], "links": [],