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_basic.py b/neutron/tests/tempest/scenario/test_basic.py
index 3fd1bc6..9006c44 100644
--- a/neutron/tests/tempest/scenario/test_basic.py
+++ b/neutron/tests/tempest/scenario/test_basic.py
@@ -12,7 +12,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
-from tempest import test
+from tempest.lib import decorators
from neutron.tests.tempest import config
from neutron.tests.tempest.scenario import base
@@ -27,7 +27,7 @@
# Default to ipv4.
_ip_version = 4
- @test.idempotent_id('de07fe0a-e955-449e-b48b-8641c14cd52e')
+ @decorators.idempotent_id('de07fe0a-e955-449e-b48b-8641c14cd52e')
def test_basic_instance(self):
self.setup_network_and_server()
self.check_connectivity(self.fip['floating_ip_address'],