From 3b3929803b5b2fb0bea55911edb0eb3acf8ae4f1 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 26 Jun 2015 17:13:32 +0200 Subject: [PATCH] Force turn off KVM for the CI --- tests/conftest.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index b8e2c67ab..c96f96099 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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)