Пример #1
0
 def test_core_plugin_ml2(self):
     self.config.return_value = 'ovs'
     self.assertEqual(neutron_contexts.core_plugin(),
                      neutron_contexts.NEUTRON_ML2_PLUGIN)
Пример #2
0
 def test_core_plugin_ml2(self):
     self.get_os_codename_install_source.return_value = 'icehouse'
     self.config.return_value = 'ovs'
     self.assertEquals(neutron_contexts.core_plugin(),
                       neutron_contexts.NEUTRON_ML2_PLUGIN)
Пример #3
0
 def test_core_plugin(self):
     self.get_os_codename_install_source.return_value = 'havana'
     self.config.return_value = 'ovs'
     self.assertEquals(neutron_contexts.core_plugin(),
                       neutron_contexts.NEUTRON_OVS_PLUGIN)
 def test_core_plugin_ml2(self):
     self.config.return_value = 'ovs'
     self.assertEqual(neutron_contexts.core_plugin(),
                      neutron_contexts.NEUTRON_ML2_PLUGIN)
 def test_core_plugin_ml2(self):
     self.get_os_codename_install_source.return_value = 'icehouse'
     self.config.return_value = 'ovs'
     self.assertEquals(neutron_contexts.core_plugin(),
                       neutron_contexts.NEUTRON_ML2_PLUGIN)
 def test_core_plugin(self):
     self.get_os_codename_install_source.return_value = 'havana'
     self.config.return_value = 'ovs'
     self.assertEquals(neutron_contexts.core_plugin(),
                       neutron_contexts.NEUTRON_OVS_PLUGIN)