mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Strip user from compute in topology and return project filename
This commit is contained in:
5 files changed
+14
-8
No files matched your search
@@ -211,7 +211,6 @@ def test_json(compute):
|
||||
"protocol": "https",
|
||||
"host": "example.com",
|
||||
"port": 84,
|
||||
"user": "test",
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user