Force turn off KVM for the CI

pull/370/head
Julien Duponchelle 9 years ago
parent 6e3ebb714d
commit 3b3929803b

@ -147,9 +147,14 @@ def run_around_tests(monkeypatch):
config.set("Server", "project_directory", tmppath)
config.set("Server", "auth", False)
# Prevent exectuions of the VM if we forgot to mock something
# Prevent executions of the VM if we forgot to mock something
config.set("VirtualBox", "vboxmanage_path", tmppath)
config.set("VPCS", "vpcs_path", tmppath)
config.set("VMware", "vmrun_path", tmppath)
# Force turn off KVM because it's not available on CI
config.set("Qemu", "enable_kvm", False)
monkeypatch.setattr("gns3server.modules.project.Project._get_default_project_directory", lambda *args: tmppath)

Loading…
Cancel
Save