mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Fix tests
This commit is contained in:
1 parent
f7cd09d5fb
commit
259f6249e2
2 files changed
+1
-4
No files matched your search
@@ -234,7 +234,6 @@ def test_get_initial_config_without_config_file(server, vm):
|
||||
response = server.get("/projects/{project_id}/iou/vms/{vm_id}/initial_config".format(project_id=vm["project_id"], vm_id=vm["vm_id"]), example=True)
|
||||
assert response.status == 200
|
||||
assert response.json["content"] == None
|
||||
assert response.json["path"] == None
|
||||
|
||||
|
||||
def test_get_initial_config_with_config_file(server, project, vm):
|
||||
@@ -246,4 +245,3 @@ def test_get_initial_config_with_config_file(server, project, vm):
|
||||
response = server.get("/projects/{project_id}/iou/vms/{vm_id}/initial_config".format(project_id=vm["project_id"], vm_id=vm["vm_id"]), example=True)
|
||||
assert response.status == 200
|
||||
assert response.json["content"] == "TEST"
|
||||
assert response.json["path"] == "initial-config.cfg"
|
||||
Reference in new issue
Block a user