Fix qemu tests

This commit is contained in:
Julien Duponchelle 2015-11-09 12:23:50 +01:00
parent 1248584841
commit f01a6dcaaf

View File

@ -26,7 +26,7 @@ from gns3server.config import Config
@pytest.fixture
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:
f.write("1")
os.chmod(bin_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)