Merge "tests: move test_db_base_plugin_v2.py to common"
This commit is contained in:
commit
bbbb39bfda
@ -29,8 +29,8 @@ from neutron.objects import network as net_obj
|
||||
from neutron.scheduler import l3_agent_scheduler
|
||||
from neutron.services.l3_router import l3_router_plugin
|
||||
from neutron.tests.common import helpers
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.functional import base
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
|
||||
_uuid = uuidutils.generate_uuid
|
||||
|
||||
|
@ -20,7 +20,7 @@ from neutron_lib import context
|
||||
from neutron_lib.plugins import directory
|
||||
from webob import exc
|
||||
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit import dummy_plugin
|
||||
|
||||
|
||||
|
@ -20,7 +20,7 @@ from neutron_lib.plugins import directory
|
||||
from oslo_config import cfg
|
||||
|
||||
from neutron.api.rpc.handlers import l3_rpc
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@ from neutron.api import extensions
|
||||
from neutron.common import config
|
||||
import neutron.extensions
|
||||
from neutron.services.metering import metering_plugin
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
DB_METERING_PLUGIN_KLASS = (
|
||||
"neutron.services.metering."
|
||||
|
@ -49,8 +49,8 @@ from neutron.objects import agent as ag_obj
|
||||
from neutron.objects import l3agent as rb_obj
|
||||
from neutron import policy
|
||||
from neutron.tests.common import helpers
|
||||
from neutron.tests.common import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.unit.api import test_extensions
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.unit.extensions import test_agent
|
||||
from neutron.tests.unit.extensions import test_l3
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
@ -25,7 +25,7 @@ from neutron.db import allowedaddresspairs_db as addr_pair_db
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.db import portsecurity_db
|
||||
from neutron.extensions import securitygroup as secgroup
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
DB_PLUGIN_KLASS = ('neutron.tests.unit.db.test_allowedaddresspairs_db.'
|
||||
|
@ -29,7 +29,7 @@ from neutron.objects import subnet as subnet_obj
|
||||
from neutron.plugins.ml2 import plugin as ml2_plugin
|
||||
from neutron.services.segments import db as segments_db
|
||||
from neutron.tests import base
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class TestIpamBackendMixin(base.BaseTestCase):
|
||||
|
@ -35,7 +35,7 @@ from neutron.ipam import requests as ipam_req
|
||||
from neutron.objects import network as network_obj
|
||||
from neutron.objects import ports as port_obj
|
||||
from neutron.objects import subnet as obj_subnet
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2 as test_db_base
|
||||
from neutron.tests.common import test_db_base_plugin_v2 as test_db_base
|
||||
|
||||
|
||||
class UseIpamMixin:
|
||||
|
@ -46,7 +46,7 @@ from neutron.objects import ports as port_obj
|
||||
from neutron.objects import router as l3_obj
|
||||
from neutron.objects import subnet as subnet_obj
|
||||
from neutron.tests import base
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
@ddt.ddt
|
||||
|
@ -39,7 +39,7 @@ from neutron.objects import agent as agent_obj
|
||||
from neutron.objects import l3agent as rb_obj
|
||||
from neutron.objects import ports as port_obj
|
||||
from neutron.objects import router as router_obj
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_l3
|
||||
|
||||
_uuid = uuidutils.generate_uuid
|
||||
|
@ -20,7 +20,7 @@ from neutron_lib.plugins import directory
|
||||
|
||||
from neutron.db import ovn_l3_hamode_db
|
||||
from neutron.objects import router as router_obj
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.common import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.unit.db import test_l3_dvr_db
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@ from neutron.db.models import ovn as ovn_models
|
||||
from neutron.db import ovn_revision_numbers_db as ovn_rn_db
|
||||
import neutron.extensions
|
||||
from neutron.services.revisions import revision_plugin
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_address_group
|
||||
from neutron.tests.unit.extensions import test_l3
|
||||
from neutron.tests.unit.extensions import test_securitygroup
|
||||
|
@ -26,7 +26,7 @@ from neutron.db import rbac_db_models
|
||||
from neutron.extensions import rbac as ext_rbac
|
||||
from neutron.objects import network as network_obj
|
||||
from neutron.objects.qos import policy as qos_policy_obj
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.common import test_db_base_plugin_v2 as test_plugin
|
||||
|
||||
|
||||
class NetworkRbacTestcase(test_plugin.NeutronDbPluginV2TestCase):
|
||||
|
@ -19,7 +19,7 @@ import webob.exc
|
||||
from neutron.db import address_group_db
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.extensions import address_group as ag_ext
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
DB_PLUGIN_KLASS = ('neutron.tests.unit.extensions.test_address_group.'
|
||||
|
@ -28,7 +28,7 @@ import webob.exc
|
||||
from neutron.db import address_scope_db
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.extensions import address_scope as ext_address_scope
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
DB_PLUGIN_KLASS = ('neutron.tests.unit.extensions.test_address_scope.'
|
||||
'AddressScopeTestPlugin')
|
||||
|
@ -26,8 +26,8 @@ from neutron.db import agents_db
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.extensions import agent
|
||||
from neutron.tests.common import helpers
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.api.v2 import test_base
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
|
||||
|
||||
_uuid = uuidutils.generate_uuid
|
||||
|
@ -23,7 +23,7 @@ from neutron.db import db_base_plugin_v2
|
||||
from neutron.extensions import agent
|
||||
from neutron.extensions import availability_zone as az_ext
|
||||
from neutron.tests.common import helpers
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class AZExtensionManager:
|
||||
|
@ -24,7 +24,7 @@ from neutron_lib.tests.unit import fake_notifier
|
||||
from neutron.db import data_plane_status_db as dps_db
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.extensions import data_plane_status as dps_ext
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class DataPlaneStatusTestExtensionManager:
|
||||
|
@ -18,7 +18,7 @@ import webob.exc
|
||||
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.extensions import default_subnetpools
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class DefaultSubnetpoolsExtensionManager:
|
||||
|
@ -26,7 +26,7 @@ from oslo_config import cfg
|
||||
from neutron.common import utils
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.extensions import dns
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.plugins.ml2 import test_plugin
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ from neutron.db import l3_fip_qos
|
||||
from neutron.extensions import floating_ip_port_forwarding as pf_ext
|
||||
from neutron.extensions import l3
|
||||
from neutron.objects.qos import policy
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_l3
|
||||
|
||||
|
||||
|
@ -38,7 +38,7 @@ from neutron.tests.unit.api.v2 import test_base
|
||||
rname = subnet_apidef.COLLECTION_NAME
|
||||
attributes.RESOURCES[rname].update(
|
||||
extsnet_apidef.RESOURCE_ATTRIBUTE_MAP[rname])
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2 # noqa: E402
|
||||
from neutron.tests.common import test_db_base_plugin_v2 # noqa: E402
|
||||
|
||||
|
||||
_uuid = uuidutils.generate_uuid
|
||||
|
@ -22,7 +22,7 @@ import webob.exc
|
||||
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.db import extradhcpopt_db as edo_db
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
DB_PLUGIN_KLASS = (
|
||||
|
@ -32,8 +32,8 @@ from neutron.objects import flavor as flavor_obj
|
||||
from neutron.services.flavors import flavors_plugin
|
||||
from neutron.services import provider_configuration as provconf
|
||||
from neutron.tests import base
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.api.v2 import test_base
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.unit import dummy_plugin
|
||||
from neutron.tests.unit.extensions import base as extension
|
||||
|
||||
|
@ -61,9 +61,9 @@ from neutron.extensions import l3
|
||||
from neutron.objects import network as network_obj
|
||||
from neutron.services.revisions import revision_plugin
|
||||
from neutron.tests import base
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.api import test_extensions
|
||||
from neutron.tests.unit.api.v2 import test_base
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import base as test_extensions_base
|
||||
from neutron.tests.unit.extensions import test_agent
|
||||
from neutron.tests.unit.plugins.ml2 import base as ml2_base
|
||||
|
@ -40,7 +40,7 @@ from neutron.objects import ports as port_obj
|
||||
from neutron.objects import router as l3_obj
|
||||
from neutron.objects import subnet as subnet_obj
|
||||
from neutron.tests import base
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_l3
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
||||
|
@ -22,7 +22,7 @@ from neutron_lib import constants
|
||||
import webob.exc
|
||||
|
||||
from neutron.extensions import local_ip as lip_ext
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class LocalIPTestExtensionManager:
|
||||
|
@ -20,7 +20,7 @@ from neutron.api import extensions as api_ext
|
||||
from neutron.common import config
|
||||
from neutron import extensions
|
||||
from neutron.services.network_ip_availability import plugin as plugin_module
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
API_RESOURCE = 'network-ip-availabilities'
|
||||
IP_AVAIL_KEY = 'network_ip_availability'
|
||||
|
@ -24,7 +24,7 @@ from neutron.db import db_base_plugin_v2
|
||||
from neutron.db import segments_db
|
||||
from neutron.extensions import network_segment_range as ext_range
|
||||
from neutron.services.network_segment_range import plugin as plugin_range
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
SERVICE_PLUGIN_KLASS = ('neutron.services.network_segment_range.plugin.'
|
||||
'NetworkSegmentRangePlugin')
|
||||
|
@ -18,7 +18,7 @@ from neutron_lib.db import api as db_api
|
||||
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.db import port_device_profile_db as pdp_db
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class PortDeviceProfileExtensionTestPlugin(
|
||||
|
@ -21,7 +21,7 @@ from oslo_config import cfg
|
||||
from neutron.db import port_hardware_offload_type_db as phot_db
|
||||
from neutron.objects import ports as ports_obj
|
||||
from neutron.plugins.ml2 import plugin
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class PortHardwareOffloadTypeExtensionTestPlugin(
|
||||
|
@ -18,7 +18,7 @@ from neutron_lib.db import api as db_api
|
||||
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.db import port_hints_db as phints_db
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
HINTS_LIST = [
|
||||
None,
|
||||
|
@ -20,7 +20,7 @@ from neutron_lib.db import api as db_api
|
||||
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.db import port_numa_affinity_policy_db as pnap_db
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
TESTED_POLICIES = (constants.PORT_NUMA_POLICY_REQUIRED,
|
||||
|
@ -17,7 +17,7 @@ from neutron_lib.api.definitions import port_numa_affinity_policy_socket as \
|
||||
apidef
|
||||
from neutron_lib import constants
|
||||
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_port_numa_affinity_policy
|
||||
|
||||
|
||||
|
@ -20,7 +20,7 @@ from oslo_config import cfg
|
||||
|
||||
from neutron.db import port_trusted_db
|
||||
from neutron.plugins.ml2 import plugin
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class PortTrustedExtensionTestPlugin(
|
||||
|
@ -30,7 +30,7 @@ from neutron.db import portsecurity_db
|
||||
from neutron.db import securitygroups_db
|
||||
from neutron.extensions import securitygroup as ext_sg
|
||||
from neutron import quota
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_securitygroup
|
||||
|
||||
DB_PLUGIN_KLASS = ('neutron.tests.unit.extensions.test_portsecurity.'
|
||||
|
@ -43,7 +43,7 @@ from neutron.extensions import security_groups_default_rules as \
|
||||
from neutron.extensions import securitygroup as ext_sg
|
||||
from neutron.extensions import standardattrdescription
|
||||
from neutron.tests import base
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_address_group
|
||||
|
||||
DB_PLUGIN_KLASS = ('neutron.tests.unit.extensions.test_securitygroup.'
|
||||
|
@ -52,7 +52,7 @@ from neutron.services.segments import db
|
||||
from neutron.services.segments import exceptions as segment_exc
|
||||
from neutron.services.segments import plugin as seg_plugin
|
||||
from neutron.tests.common import helpers
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
SERVICE_PLUGIN_KLASS = 'neutron.services.segments.plugin.Plugin'
|
||||
TEST_PLUGIN_KLASS = (
|
||||
|
@ -30,9 +30,9 @@ from neutron.db import servicetype_db as st_db
|
||||
from neutron.extensions import servicetype
|
||||
from neutron.objects import servicetype as servicetype_obj
|
||||
from neutron.services import provider_configuration as provconf
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.api import test_extensions
|
||||
from neutron.tests.unit.api.v2 import test_base
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.unit import dummy_plugin as dp
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
||||
|
@ -19,7 +19,7 @@ from neutron_lib.api.definitions import subnet_service_types \
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.db import subnet_service_type_mixin
|
||||
from neutron.extensions import subnet_service_types
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class SubnetServiceTypesExtensionManager:
|
||||
|
@ -26,7 +26,7 @@ from neutron.extensions import timestamp
|
||||
from neutron import manager
|
||||
from neutron.objects import network as net_obj
|
||||
from neutron.objects import tag as tag_obj
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class TimeStampExtensionManager:
|
||||
|
@ -17,7 +17,7 @@ from neutron_lib.db import resource_extend
|
||||
|
||||
from neutron.db import db_base_plugin_v2
|
||||
from neutron.db import uplink_status_propagation_db as usp_db
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
|
||||
|
||||
class UplinkStatusPropagationExtensionTestPlugin(
|
||||
|
@ -22,7 +22,7 @@ from neutron.db import db_base_plugin_v2
|
||||
from neutron.db import vlantransparent_db as vlt_db
|
||||
from neutron.extensions import vlantransparent as vlt
|
||||
from neutron import quota
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ from neutron.ipam.drivers.neutrondb_ipam import driver
|
||||
from neutron.ipam import exceptions as ipam_exc
|
||||
from neutron.ipam import requests as ipam_req
|
||||
from neutron.objects import ipam as ipam_obj
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2 as test_db_plugin
|
||||
from neutron.tests.common import test_db_base_plugin_v2 as test_db_plugin
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ from oslo_utils import uuidutils
|
||||
|
||||
from neutron.ipam import requests as ipam_req
|
||||
from neutron.ipam import subnet_alloc
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
||||
|
||||
|
@ -58,8 +58,8 @@ from neutron.objects import stdattrs
|
||||
from neutron.objects import subnet
|
||||
from neutron.objects import subnetpool
|
||||
from neutron.tests import base as test_base
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests import tools
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
|
||||
|
||||
SQLALCHEMY_COMMIT = 'sqlalchemy.engine.Connection._commit_impl'
|
||||
|
@ -74,10 +74,10 @@ from neutron.services.revisions import revision_plugin
|
||||
from neutron.services.segments import db as segments_plugin_db
|
||||
from neutron.services.segments import plugin as segments_plugin
|
||||
from neutron.tests.common import helpers
|
||||
from neutron.tests.common import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.unit import _test_extension_portbindings as test_bindings
|
||||
from neutron.tests.unit.agent import test_securitygroups_rpc as test_sg_rpc
|
||||
from neutron.tests.unit.db import test_allowedaddresspairs_db as test_pair
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.unit.db import test_ipam_pluggable_backend as test_ipam
|
||||
from neutron.tests.unit.extensions import test_extra_dhcp_opt as test_dhcpopts
|
||||
from neutron.tests.unit.plugins.ml2.drivers import mechanism_logger as \
|
||||
|
@ -34,7 +34,7 @@ from neutron.conf.plugins.ml2.drivers import driver_type
|
||||
from neutron.plugins.ml2 import driver_context
|
||||
from neutron.plugins.ml2 import models as ml2_models
|
||||
from neutron.plugins.ml2 import plugin as ml2_plugin
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.common import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.unit.plugins.ml2.drivers import mechanism_test
|
||||
|
||||
|
||||
|
@ -20,8 +20,8 @@ from oslo_utils import uuidutils
|
||||
from neutron.conf import quota as quota_conf
|
||||
from neutron.db.quota import api as quota_db_api
|
||||
from neutron import quota
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.api import test_extensions
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_l3
|
||||
from neutron.tests.unit.extensions import test_securitygroup
|
||||
from neutron.tests.unit.plugins.ml2 import base as ml2_base
|
||||
|
@ -57,7 +57,7 @@ from neutron import quota
|
||||
from neutron.scheduler import l3_agent_scheduler
|
||||
from neutron.tests import base
|
||||
from neutron.tests.common import helpers
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_l3
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
||||
|
@ -32,8 +32,8 @@ from neutron.extensions import l3 as ext_l3
|
||||
from neutron.extensions import metering as ext_metering
|
||||
from neutron.objects import agent as agent_obj
|
||||
from neutron.tests.common import helpers
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.db.metering import test_metering_db
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.extensions import test_l3
|
||||
|
||||
|
||||
|
@ -22,7 +22,7 @@ from oslo_config import cfg
|
||||
|
||||
from neutron.db import segments_db
|
||||
from neutron.services.network_segment_range import plugin as range_plugin
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.common import test_db_base_plugin_v2 as test_plugin
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
||||
SERVICE_PLUGIN_KLASS = ('neutron.services.network_segment_range.plugin.'
|
||||
|
@ -43,7 +43,7 @@ from neutron.objects import ports as ports_object
|
||||
from neutron.objects.qos import policy as policy_object
|
||||
from neutron.objects.qos import rule as rule_object
|
||||
from neutron.services.qos import qos_plugin
|
||||
from neutron.tests.unit.db import test_db_base_plugin_v2
|
||||
from neutron.tests.common import test_db_base_plugin_v2
|
||||
from neutron.tests.unit.services.qos import base
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user