summaryrefslogtreecommitdiff
path: root/tempest/api/identity/admin/v3/test_regions.py
diff options
context:
space:
mode:
authorJordan Pittier <jordan.pittier@scality.com>2017-04-12 16:17:28 +0200
committerJordan Pittier <jordan.pittier@scality.com>2017-04-14 11:16:36 +0200
commit3b46d27c90aa6289724f4c137a0838c89d116b62 (patch)
treed7308c4dce3a3e570416e91cf53e17cb3418aaec /tempest/api/identity/admin/v3/test_regions.py
parent9d52e99ef132499ae8974778a1230a627a072254 (diff)
downloadtempest-3b46d27c90aa6289724f4c137a0838c89d116b62.tar.gz
Move the `attr` decorator from test.py to tempest/lib
I think it's a good idea to move all utility decorators into tempest/lib/decorators.py. This patch does that for the `attr` decorator. Change-Id: Iaafbb112b6eee458089cc49918359a8a8d0485e2
Diffstat (limited to 'tempest/api/identity/admin/v3/test_regions.py')
-rw-r--r--tempest/api/identity/admin/v3/test_regions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tempest/api/identity/admin/v3/test_regions.py b/tempest/api/identity/admin/v3/test_regions.py
index 56ee496c0..ac550a73a 100644
--- a/tempest/api/identity/admin/v3/test_regions.py
+++ b/tempest/api/identity/admin/v3/test_regions.py
@@ -17,7 +17,6 @@ from tempest.api.identity import base
from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils
from tempest.lib import decorators
-from tempest import test
class RegionsTestJSON(base.BaseIdentityV3AdminTest):
@@ -79,7 +78,7 @@ class RegionsTestJSON(base.BaseIdentityV3AdminTest):
regions_list = [r['id'] for r in body]
self.assertNotIn(region['id'], regions_list)
- @test.attr(type='smoke')
+ @decorators.attr(type='smoke')
@decorators.idempotent_id('2c12c5b5-efcf-4aa5-90c5-bff1ab0cdbe2')
def test_create_region_with_specific_id(self):
# Create a region with a specific id