diff --git a/tests/compute/qemu/test_qemu_manager.py b/tests/compute/qemu/test_qemu_manager.py index e940a3ed..7a14601f 100644 --- a/tests/compute/qemu/test_qemu_manager.py +++ b/tests/compute/qemu/test_qemu_manager.py @@ -32,7 +32,7 @@ from unittest.mock import patch, MagicMock def fake_qemu_img_binary(tmpdir): if sys.platform.startswith("win"): - bin_path = str(tmpdir / "qemu-img.exe") + bin_path = str(tmpdir / "qemu-img.EXE") else: bin_path = str(tmpdir / "qemu-img") with open(bin_path, "w+") as f: diff --git a/tests/compute/qemu/test_qemu_vm.py b/tests/compute/qemu/test_qemu_vm.py index 31844ab1..55e9e954 100644 --- a/tests/compute/qemu/test_qemu_vm.py +++ b/tests/compute/qemu/test_qemu_vm.py @@ -46,7 +46,7 @@ def fake_qemu_img_binary(monkeypatch, tmpdir): monkeypatch.setenv("PATH", str(tmpdir)) if sys.platform.startswith("win"): - bin_path = os.path.join(os.environ["PATH"], "qemu-img.exe") + bin_path = os.path.join(os.environ["PATH"], "qemu-img.EXE") else: bin_path = os.path.join(os.environ["PATH"], "qemu-img") with open(bin_path, "w+") as f: @@ -60,7 +60,7 @@ def fake_qemu_binary(monkeypatch, tmpdir): monkeypatch.setenv("PATH", str(tmpdir)) if sys.platform.startswith("win"): - bin_path = os.path.join(os.environ["PATH"], "qemu-system-x86_64w.exe") + bin_path = os.path.join(os.environ["PATH"], "qemu-system-x86_64w.EXE") else: bin_path = os.path.join(os.environ["PATH"], "qemu-system-x86_64") with open(bin_path, "w+") as f: