Switch test_mtu.py to tempest.common.utils.requires_ext
The old (tempest.test.requires_ext) location is deprecated in Pike.
Somehow missed in a previous change.
Change-Id: I8e18732443b1f01649a0a98a4765dafc5dc9bb7a
(cherry picked from commit 2d6d64a4ef
)
This commit is contained in:
parent
8ef8f2bc46
commit
0611851178
|
@ -14,9 +14,9 @@
|
|||
# under the License.
|
||||
import netaddr
|
||||
|
||||
from tempest.common import utils
|
||||
from tempest.common import waiters
|
||||
from tempest.lib import decorators
|
||||
from tempest import test
|
||||
|
||||
from neutron.tests.tempest.common import ssh
|
||||
from neutron.tests.tempest import config
|
||||
|
@ -42,7 +42,7 @@ class NetworkMtuBaseTest(base.BaseTempestTestCase):
|
|||
raise cls.skipException("GRE or VXLAN type_driver is not enabled")
|
||||
|
||||
@classmethod
|
||||
@test.requires_ext(extension=provider_net.ALIAS, service="network")
|
||||
@utils.requires_ext(extension=provider_net.ALIAS, service="network")
|
||||
def resource_setup(cls):
|
||||
super(NetworkMtuBaseTest, cls).resource_setup()
|
||||
# setup basic topology for servers we can log into it
|
||||
|
|
Loading…
Reference in New Issue