diff options
author | Ken'ichi Ohmichi <ken-oomichi@wx.jp.nec.com> | 2017-01-27 17:46:00 -0800 |
---|---|---|
committer | Ken'ichi Ohmichi <ken-oomichi@wx.jp.nec.com> | 2017-01-27 17:49:35 -0800 |
commit | eeabdd2ce6576836a4572bdd5eced17809675515 (patch) | |
tree | fe3fb4e9f70cdfbb5a758ca33fc763176d7b3b57 /tempest/api/identity/admin/v3/test_credentials.py | |
parent | 6c92edfa2f242289192e5ff8bd9aadb079f26bca (diff) | |
download | tempest-eeabdd2ce6576836a4572bdd5eced17809675515.tar.gz |
Switch to decorators.idempotent_id on identity
So many modules are using test.idempotent_id and this is for
switching to decorators.idempotent_id on identity.
Change-Id: I8c3ad6a3b20c6829c752f9fae5a27bd3e284c1b1
Related-Bug: #1616913
Diffstat (limited to 'tempest/api/identity/admin/v3/test_credentials.py')
-rw-r--r-- | tempest/api/identity/admin/v3/test_credentials.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tempest/api/identity/admin/v3/test_credentials.py b/tempest/api/identity/admin/v3/test_credentials.py index d4fe32d52..e5a218d10 100644 --- a/tempest/api/identity/admin/v3/test_credentials.py +++ b/tempest/api/identity/admin/v3/test_credentials.py @@ -16,6 +16,7 @@ from oslo_serialization import jsonutils as json from tempest.api.identity import base from tempest.common.utils import data_utils +from tempest.lib import decorators from tempest import test @@ -52,7 +53,7 @@ class CredentialsTestJSON(base.BaseIdentityV3AdminTest): self.creds_client.delete_credential(cred_id) @test.attr(type='smoke') - @test.idempotent_id('7cd59bf9-bda4-4c72-9467-d21cab278355') + @decorators.idempotent_id('7cd59bf9-bda4-4c72-9467-d21cab278355') def test_credentials_create_get_update_delete(self): blob = '{"access": "%s", "secret": "%s"}' % ( data_utils.rand_name('Access'), data_utils.rand_name('Secret')) @@ -87,7 +88,7 @@ class CredentialsTestJSON(base.BaseIdentityV3AdminTest): self.assertEqual(update_body['blob'][value2], get_body['blob'][value2]) - @test.idempotent_id('13202c00-0021-42a1-88d4-81b44d448aab') + @decorators.idempotent_id('13202c00-0021-42a1-88d4-81b44d448aab') def test_credentials_list_delete(self): created_cred_ids = list() fetched_cred_ids = list() |