From 529d13a43907dd3f5ab1814e52098f04c2a43f93 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Thu, 16 Jul 2009 15:48:53 +0200
Subject: [PATCH] Add enabled hypervisors to TestConfigRunner

This parameter is now mandatory for the cluster config to work.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 test/ganeti.config_unittest.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/ganeti.config_unittest.py b/test/ganeti.config_unittest.py
index 24c9491ca..37bcb2081 100755
--- a/test/ganeti.config_unittest.py
+++ b/test/ganeti.config_unittest.py
@@ -69,6 +69,7 @@ class TestConfigRunner(unittest.TestCase):
       default_bridge=constants.DEFAULT_BRIDGE,
       tcpudp_port_pool=set(),
       default_hypervisor=constants.HT_FAKE,
+      enabled_hypervisors=[constants.HT_FAKE],
       master_node=me.name,
       master_ip="127.0.0.1",
       master_netdev=constants.DEFAULT_BRIDGE,
-- 
GitLab