~zulcss/ubuntu/precise/quantum/trunk

« back to all changes in this revision

Viewing changes to quantum/tests/unit/nec/test_nec_plugin.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short, Soren Hansen
  • Date: 2012-09-07 18:50:09 UTC
  • mfrom: (2.1.11)
  • Revision ID: package-import@ubuntu.com-20120907185009-n6lh5tkcci19jz1h
Tags: 2012.2~rc1~20120907.1154-0ubuntu1
[ Adam Gandelman ]
* debian/control: Add missing python-keystone dependency.
* wrap-and-sort.

[ Chuck Short ]
* debian/rules:
  - Run testsuite on build.
  - Use get-orig-source.
  - Add python-amqplib, python-anyjson, python-httplib2, python-iso8601,
    python-kombu, python-lxml, python-netadr, python-pyudev to build depends
    and run time deps.
  - Add python-mock, python-mox, and python-unitest2 to build deps.
  - Add adduser as a dep to quantum-common.
* debian/control: Bump standards version to 3.9.3
* debian/quantum-common.install: Add missing configuration files.
  (LP: #988999)
* debian/quantum-plugin-linuxbridge.install: Make isntallable.
* Add manpages: gratitously ripped from debian.
* Fix up lintian warnings. (LP: #1025203), (LP: #1021921)
* Add metaplugin plugin.
* debian/patches/fix-namespace.patch: Dropped it was causing
  python namespace issues.
  (LP: #1045064)
* debian/*.upstart:
  - Specify configuration file and log directory.
  - Start on the right transition.
* debian/rules:
  - Allow to disable testsuite.
  - Dont fail if the testsuite fails.
* debian/patches/fix-quantum-configuration.patch: Fix configuration files.
* Add packaging for quantum-plugin-l3 and quantum-plugin-l3-agent
* Add packaging for quantum-plugin-dhcp-agent and quantum-plugin-dchp-agent
* debian/patches/fix-ubuntu-tests.patch: Fix testsuite failures.

[ Soren Hansen ]
* Update debian/watch to account for symbolically named tarballs and
  use newer URL.
* Add python-configobj as a build and run time dependency. Recently added
  tests need it, and the Cisco plugin has needed it for a while.
* Fix Launchpad URLs in debian/watch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2012 OpenStack, LLC.
 
2
#
 
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
 
6
#
 
7
#    http://www.apache.org/licenses/LICENSE-2.0
 
8
#
 
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
 
12
# implied.
 
13
# See the License for the specific language governing permissions and
 
14
# limitations under the License.
 
15
 
 
16
from quantum.tests.unit import test_db_plugin as test_plugin
 
17
 
 
18
 
 
19
class NecPluginV2TestCase(test_plugin.QuantumDbPluginV2TestCase):
 
20
 
 
21
    _plugin_name = 'quantum.plugins.nec.nec_plugin.NECPluginV2'
 
22
 
 
23
    def setUp(self):
 
24
        super(NecPluginV2TestCase, self).setUp(self._plugin_name)
 
25
 
 
26
 
 
27
class TestNecBasicGet(test_plugin.TestBasicGet, NecPluginV2TestCase):
 
28
    pass
 
29
 
 
30
 
 
31
class TestNecV2HTTPResponse(test_plugin.TestV2HTTPResponse,
 
32
                            NecPluginV2TestCase):
 
33
    pass
 
34
 
 
35
 
 
36
class TestNecPortsV2(test_plugin.TestPortsV2, NecPluginV2TestCase):
 
37
    pass
 
38
 
 
39
 
 
40
class TestNecNetworksV2(test_plugin.TestNetworksV2, NecPluginV2TestCase):
 
41
    pass
 
42
 
 
43
 
 
44
class TestNecSubnetsV2(test_plugin.TestSubnetsV2, NecPluginV2TestCase):
 
45
    pass