~ubuntu-branches/ubuntu/vivid/neutron-fwaas/vivid-updates

« back to all changes in this revision

Viewing changes to neutron_fwaas/tests/unit/db/firewall/test_db_firewall.py

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-03-30 11:19:40 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20150330111940-2v7kca772me1xuif
Tags: 2015.1~b3-0ubuntu1
* New upstream milestone release:
  - d/control: Align version requirement with upstream, add new dependency
    on oslo-log.
* Enable unit test suite execution:
  - d/control: Switch BD on python-neutron -> neutron-common.
  - d/rules: Enable execution of unit tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from neutron.api import extensions as api_ext
20
20
from neutron.common import config
21
21
from neutron import context
22
 
import neutron.extensions
 
22
import neutron.extensions as nextensions
23
23
from neutron import manager
24
24
from neutron.openstack.common import uuidutils
25
25
from neutron.plugins.common import constants
26
 
from oslo.config import cfg
27
 
from oslo.utils import importutils
 
26
from oslo_config import cfg
 
27
from oslo_utils import importutils
28
28
import webob.exc
29
29
 
30
30
from neutron_fwaas.db.firewall import firewall_db as fdb
 
31
from neutron_fwaas import extensions
31
32
from neutron_fwaas.extensions import firewall
32
33
from neutron_fwaas.services.firewall import fwaas_plugin
33
34
from neutron_fwaas.tests import base
37
38
)
38
39
FWAAS_PLUGIN = 'neutron_fwaas.services.firewall.fwaas_plugin'
39
40
DELETEFW_PATH = FWAAS_PLUGIN + '.FirewallAgentApi.delete_firewall'
40
 
extensions_path = ':'.join(neutron.extensions.__path__)
 
41
extensions_path = ':'.join(extensions.__path__ + nextensions.__path__)
41
42
DESCRIPTION = 'default description'
42
43
SHARED = True
43
44
PROTOCOL = 'tcp'