Switch to tempest.common.utils.requires_ext
Tempest deprecated tempest.test.requires_ext [1] At this moment, it is available in tempest.common.utils [1] https://review.openstack.org/#/c/493668/ Change-Id: Ie6a104d2cf6ccc4217df62a3784b8757457f3142
This commit is contained in:
parent
cb136ab1e6
commit
b47dcf5a53
|
@ -20,7 +20,6 @@ from tempest.api.compute import base
|
|||
from tempest.common import waiters
|
||||
from tempest import config
|
||||
from tempest.lib.common.utils import data_utils
|
||||
from tempest import test
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
|
||||
import json
|
||||
|
||||
from tempest.common import utils
|
||||
from tempest import config
|
||||
from tempest import exceptions
|
||||
from tempest.lib.common.utils import test_utils
|
||||
from tempest.lib import decorators
|
||||
from tempest import test
|
||||
|
||||
from nova_lxd_tempest_plugin.tests.scenario import manager
|
||||
|
||||
|
@ -107,7 +107,7 @@ class TestServerBasicOps(manager.ScenarioTest):
|
|||
|
||||
@decorators.idempotent_id('7fff3fb3-91d8-4fd0-bd7d-0204f1f180ba')
|
||||
@decorators.attr(type='smoke')
|
||||
@test.services('compute', 'network')
|
||||
@utils.services('compute', 'network')
|
||||
def test_server_basic_ops(self):
|
||||
keypair = self.create_keypair()
|
||||
self.security_group = self._create_security_group()
|
||||
|
|
|
@ -26,7 +26,6 @@ from tempest.lib.common.utils import data_utils
|
|||
from tempest.lib.common.utils import test_utils
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions as lib_exc
|
||||
from tempest import test
|
||||
|
||||
from nova_lxd_tempest_plugin.tests.scenario import manager
|
||||
|
||||
|
|
Loading…
Reference in New Issue