Support filename for project in the controller

This commit is contained in:
Julien Duponchelle committed 2016-06-16 16:57:54 +02:00
1 parent 411ca56b94
commit c66ef9d218
4 files changed
+17 -14

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ def test_affect_uuid():
def test_json(tmpdir):
p = Project()
assert p.__json__() == {"name": p.name, "project_id": p.id, "path": p.path, "status": "opened", "filename": "untitled.gns3"}
assert p.__json__() == {"name": p.name, "project_id": p.id, "path": p.path, "status": "opened", "filename": "project.gns3"}
def test_path(tmpdir):