Replace the deprecated tempest.test.attr with decorators.attr

[1] moves the attr decorator from test.py to tempest/lib. So, all the
references to tempest.test has to be moved to tempest.lib.decorator.

[2] https://review.openstack.org/#/c/456236/

Change-Id: I17a6bb8728c9184dd7aeecf7f3b4cab62abd9680
This commit is contained in:
Ngo Quoc Cuong 2017-05-22 13:23:20 +07:00
parent f8b09fe503
commit 5d84570ec1
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class InspectorBasicTest(manager.InspectorScenarioTest):
class InspectorSmokeTest(manager.InspectorScenarioTest):
@decorators.idempotent_id('a702d1f1-88e4-42ce-88ef-cba2d9e3312e')
@test.attr(type='smoke')
@decorators.attr(type='smoke')
@test.services('object_storage')
def test_baremetal_introspection(self):
"""This smoke test case follows this very basic set of operations: