1
# Copyright (c) 2012 OpenStack, LLC.
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
# you may not use this file except in compliance with the License.
5
# You may obtain a copy of the License at
7
# http://www.apache.org/licenses/LICENSE-2.0
9
# Unless required by applicable law or agreed to in writing, software
10
# distributed under the License is distributed on an "AS IS" BASIS,
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
16
from quantum.tests.unit import test_db_plugin as test_plugin
19
class NecPluginV2TestCase(test_plugin.QuantumDbPluginV2TestCase):
21
_plugin_name = 'quantum.plugins.nec.nec_plugin.NECPluginV2'
24
super(NecPluginV2TestCase, self).setUp(self._plugin_name)
27
class TestNecBasicGet(test_plugin.TestBasicGet, NecPluginV2TestCase):
31
class TestNecV2HTTPResponse(test_plugin.TestV2HTTPResponse,
36
class TestNecPortsV2(test_plugin.TestPortsV2, NecPluginV2TestCase):
40
class TestNecNetworksV2(test_plugin.TestNetworksV2, NecPluginV2TestCase):
44
class TestNecSubnetsV2(test_plugin.TestSubnetsV2, NecPluginV2TestCase):