mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Support for auto open project
This commit is contained in:
4 files changed
+72
-3
No files matched your search
@@ -59,7 +59,16 @@ def test_affect_uuid():
|
||||
|
||||
def test_json(tmpdir):
|
||||
p = Project(name="Test")
|
||||
assert p.__json__() == {"name": "Test", "project_id": p.id, "path": p.path, "status": "opened", "filename": "Test.gns3"}
|
||||
assert p.__json__() == {
|
||||
"name": "Test",
|
||||
"project_id": p.id,
|
||||
"path": p.path,
|
||||
"status": "opened",
|
||||
"filename": "Test.gns3",
|
||||
"auto_start": False,
|
||||
"auto_close": False,
|
||||
"auto_open": False
|
||||
}
|
||||
|
||||
|
||||
def test_update(controller, async_run):
|
||||
|
||||
Reference in new issue
Block a user