Remove last of the plugins/v3 from unit tests
This is part of the v3 cleanup effort. The last remaining files in the n/t/u/a/o/c/plugins/v3 directory have been moved to the base directory, and all references to them have been updated to reflect the new paths. Partial-Bug: #1462901 Change-Id: I38d97803b1a9caea98a1b043b2bc2ad774add3b3
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ import webob
|
|||||||
from nova.api.openstack import extensions
|
from nova.api.openstack import extensions
|
||||||
from nova.api.openstack import wsgi
|
from nova.api.openstack import wsgi
|
||||||
from nova.api import validation
|
from nova.api import validation
|
||||||
from nova.tests.unit.api.openstack.compute.test_plugins import dummy_schema
|
from nova.tests.unit.api.openstack.compute import dummy_schema
|
||||||
|
|
||||||
ALIAS = 'test-microversions'
|
ALIAS = 'test-microversions'
|
||||||
|
|
||||||
+2
-2
@@ -300,8 +300,8 @@ class ServersControllerTest(ControllerTest):
|
|||||||
self.assertEqual([(None, None, port, None)], res.as_tuples())
|
self.assertEqual([(None, None, port, None)], res.as_tuples())
|
||||||
|
|
||||||
def test_requested_networks_neutronv2_subclass_with_port(self):
|
def test_requested_networks_neutronv2_subclass_with_port(self):
|
||||||
cls = ('nova.tests.unit.api.openstack.compute'
|
cls = ('nova.tests.unit.api.openstack.compute.test_serversV21.'
|
||||||
'.test_servers.NeutronV2Subclass')
|
'NeutronV2Subclass')
|
||||||
self.flags(network_api_class=cls)
|
self.flags(network_api_class=cls)
|
||||||
port = 'eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee'
|
port = 'eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee'
|
||||||
requested_networks = [{'port': port}]
|
requested_networks = [{'port': port}]
|
||||||
@@ -183,8 +183,8 @@ nova.api.v3.extensions.server.resize =
|
|||||||
disk_config = nova.api.openstack.compute.disk_config:DiskConfig
|
disk_config = nova.api.openstack.compute.disk_config:DiskConfig
|
||||||
|
|
||||||
nova.api.v3.test_extensions =
|
nova.api.v3.test_extensions =
|
||||||
basic = nova.tests.unit.api.openstack.compute.test_plugins.basic:Basic
|
basic = nova.tests.unit.api.openstack.compute.basic:Basic
|
||||||
microversions = nova.tests.unit.api.openstack.compute.test_plugins.microversions:Microversions
|
microversions = nova.tests.unit.api.openstack.compute.microversions:Microversions
|
||||||
|
|
||||||
nova.ipv6_backend =
|
nova.ipv6_backend =
|
||||||
rfc2462 = nova.ipv6.rfc2462
|
rfc2462 = nova.ipv6.rfc2462
|
||||||
|
|||||||
Reference in New Issue
Block a user