~ubuntu-branches/ubuntu/vivid/neutron/vivid

« back to all changes in this revision

Viewing changes to neutron/tests/unit/embrane/test_embrane_l3_plugin.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2015-04-15 13:59:07 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20150415135907-z10fr18evag1ozq3
Tags: 1:2015.1~rc1-0ubuntu1
* New upstream milestone release:
  - debian/control: Update dependencies. 
  - debian/patches/disable-udev-tests.patch: Dropped no longer needed.
  - debian/patches/fixup-driver-test-execution.patch: Dropped no longer needed.
  - debian/patches/skip-iptest.patch: Skip failing test
  - debian/neutron-plugin-openvswitch-agent.install: Added neutron-ovsvapp-agent binary.
  - debian/neutron-plugin-cisco.install: Added neutron-cisco-apic-service-agent and 
    neutron-cisco-apic-host-agent

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2013 Embrane, Inc.
2
 
# All Rights Reserved.
3
 
#
4
 
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
5
 
#    not use this file except in compliance with the License. You may obtain
6
 
#    a copy of the License at
7
 
#
8
 
#         http://www.apache.org/licenses/LICENSE-2.0
9
 
#
10
 
#    Unless required by applicable law or agreed to in writing, software
11
 
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
 
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
 
#    License for the specific language governing permissions and limitations
14
 
#    under the License.
15
 
 
16
 
from oslo_config import cfg
17
 
 
18
 
from neutron.plugins.embrane.common import config  # noqa
19
 
from neutron.tests.unit import test_extension_extraroute as extraroute_test
20
 
 
21
 
PLUGIN_NAME = ('neutron.plugins.embrane.plugins.embrane_fake_plugin.'
22
 
               'EmbraneFakePlugin')
23
 
 
24
 
 
25
 
class TestEmbraneL3NatDBTestCase(extraroute_test.ExtraRouteDBIntTestCase):
26
 
    _plugin_name = PLUGIN_NAME
27
 
 
28
 
    def setUp(self):
29
 
        cfg.CONF.set_override('admin_password', "admin123", 'heleos')
30
 
        super(TestEmbraneL3NatDBTestCase, self).setUp()