Strip user from compute in topology and return project filename

This commit is contained in:
Julien Duponchelle committed 2016-06-15 18:22:11 +02:00
1 parent c4d619ce3c
commit aa5988788d
5 files changed
+14 -8

No files matched your search

-1
View File
@@ -211,7 +211,6 @@ def test_json(compute):
"protocol": "https",
"host": "example.com",
"port": 84,
"user": "test",
}
+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"}
assert p.__json__() == {"name": p.name, "project_id": p.id, "path": p.path, "status": "opened", "filename": "untitled.gns3"}
def test_path(tmpdir):