mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-11 16:41:04 +00:00
Fix save of topology size
Fix https://github.com/GNS3/gns3-gui/issues/1561
This commit is contained in:
parent
5a695d2651
commit
d60b606d5e
@ -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…
Reference in New Issue
Block a user