Add enabled hypervisors to TestConfigRunner
authorGuido Trotter <ultrotter@google.com>
Thu, 16 Jul 2009 13:48:53 +0000 (15:48 +0200)
committerGuido Trotter <ultrotter@google.com>
Thu, 16 Jul 2009 13:53:49 +0000 (15:53 +0200)
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

index 24c9491..37bcb20 100755 (executable)
@@ -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,