Switch to use idempotent_id decorator from tempest.lib
Decorator idempotent_id() in tempest.test is deprecated and
tempest.lib.decorators.idempotent_id() should be used instead.
This patch switch all tempest tests to use new decorator.
Change-Id: I2df9c13fbb44b8807da6805761ad30bfd010dc55
diff --git a/neutron/tests/tempest/scenario/test_qos.py b/neutron/tests/tempest/scenario/test_qos.py
index 70b962f..b79faf8 100644
--- a/neutron/tests/tempest/scenario/test_qos.py
+++ b/neutron/tests/tempest/scenario/test_qos.py
@@ -18,6 +18,7 @@
from oslo_log import log as logging
from tempest.lib.common import ssh
+from tempest.lib import decorators
from tempest.lib import exceptions
from tempest import test
import testtools
@@ -127,7 +128,7 @@
return bytes_per_second <= QoSTest.LIMIT_BYTES_SEC
- @test.idempotent_id('1f7ed39b-428f-410a-bd2b-db9f465680df')
+ @decorators.idempotent_id('1f7ed39b-428f-410a-bd2b-db9f465680df')
def test_qos(self):
"""This is a basic test that check that a QoS policy with