mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-18 07:23:47 +02:00
Fix test on Windows.
This commit is contained in:
parent
3497deaa31
commit
3727487730
@ -101,6 +101,7 @@ def test_qemu_create_with_params(http_compute, project, base_params, fake_qemu_v
|
|||||||
assert response.json["hda_disk_image_md5sum"] == "c4ca4238a0b923820dcc509a6f75849b"
|
assert response.json["hda_disk_image_md5sum"] == "c4ca4238a0b923820dcc509a6f75849b"
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not supported on Windows")
|
||||||
def test_qemu_create_with_project_file(http_compute, project, base_params, fake_qemu_vm):
|
def test_qemu_create_with_project_file(http_compute, project, base_params, fake_qemu_vm):
|
||||||
response = http_compute.post("/projects/{project_id}/files/hello.img".format(project_id=project.id), body="world", raw=True)
|
response = http_compute.post("/projects/{project_id}/files/hello.img".format(project_id=project.id), body="world", raw=True)
|
||||||
assert response.status == 200
|
assert response.status == 200
|
||||||
|
Loading…
Reference in New Issue
Block a user