vmware-nsx/neutron/tests/unit/metaplugin/test_basic.py
Mark McClain 380b0e7db6 Rename Quantum to Neutron
This change renames everything to Neutron while providing backwards
compatible adjustments for Grizzly configuration files.

implements blueprint: remove-use-of-quantum

Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19
2013-07-06 15:02:43 -04:00

73 lines
2.2 KiB
Python

# Copyright (c) 2012 OpenStack Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from neutron.common.test_lib import test_config
from neutron.tests.unit.metaplugin.test_metaplugin import setup_metaplugin_conf
from neutron.tests.unit import test_db_plugin as test_plugin
from neutron.tests.unit import test_l3_plugin
class MetaPluginV2DBTestCase(test_plugin.NeutronDbPluginV2TestCase):
_plugin_name = ('neutron.plugins.metaplugin.'
'meta_neutron_plugin.MetaPluginV2')
def setUp(self):
setup_metaplugin_conf()
ext_mgr = test_l3_plugin.L3TestExtensionManager()
test_config['extension_manager'] = ext_mgr
super(MetaPluginV2DBTestCase, self).setUp(self._plugin_name)
class TestMetaBasicGet(test_plugin.TestBasicGet,
MetaPluginV2DBTestCase):
pass
class TestMetaV2HTTPResponse(test_plugin.TestV2HTTPResponse,
MetaPluginV2DBTestCase):
pass
class TestMetaPortsV2(test_plugin.TestPortsV2,
MetaPluginV2DBTestCase):
pass
class TestMetaNetworksV2(test_plugin.TestNetworksV2,
MetaPluginV2DBTestCase):
pass
class TestMetaSubnetsV2(test_plugin.TestSubnetsV2,
MetaPluginV2DBTestCase):
#TODO(nati) This test fails if we run all test, but It success just one
def test_update_subnet_route(self):
pass
def test_update_subnet_dns_to_None(self):
pass
def test_update_subnet_route_to_None(self):
pass
def test_update_subnet_dns(self):
pass
class TestMetaL3NatDBTestCase(test_l3_plugin.L3NatDBTestCase,
MetaPluginV2DBTestCase):
pass