Fix save of topology size

Fix https://github.com/GNS3/gns3-gui/issues/1561
pull/729/head
Julien Duponchelle 8 years ago
parent 5a695d2651
commit d60b606d5e
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -57,6 +57,8 @@ def project_to_topology(project):
"auto_start": project.auto_start,
"auto_open": project.auto_open,
"auto_close": project.auto_close,
"scene_width": project.scene_width,
"scene_height": project.scene_height,
"topology": {
"nodes": [],
"links": [],

@ -37,6 +37,8 @@ def test_project_to_topology_empty(tmpdir):
"auto_start": False,
"auto_close": True,
"auto_open": False,
"scene_width": 2000,
"scene_height": 1000,
"revision": 5,
"topology": {
"nodes": [],

Loading…
Cancel
Save