mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-30 21:03:49 +02:00
Fix qemu tests
This commit is contained in:
parent
1248584841
commit
f01a6dcaaf
@ -26,7 +26,7 @@ from gns3server.config import Config
|
|||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def fake_qemu_bin():
|
def fake_qemu_bin():
|
||||||
|
|
||||||
bin_path = os.path.join(os.environ["PATH"], "qemu_x86_64")
|
bin_path = os.path.join(os.environ["PATH"], "qemu-system-x86_64")
|
||||||
with open(bin_path, "w+") as f:
|
with open(bin_path, "w+") as f:
|
||||||
f.write("1")
|
f.write("1")
|
||||||
os.chmod(bin_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
|
os.chmod(bin_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
|
||||||
|
Loading…
Reference in New Issue
Block a user