diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-01-30 18:10:16 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-01-30 18:10:16 +0000 |
commit | 7c5da22a5e6ef74afd426643bc6a4f4ecca0b967 (patch) | |
tree | 5f1532a56a563de12324869d8cda874196ee6ab5 | |
parent | dc34ed43ddbb425fd4b6eb7eeb721daf7d36e147 (diff) | |
parent | 1c7acc240157f91626db083f1715b676e4ca01e1 (diff) | |
download | designate-7c5da22a5e6ef74afd426643bc6a4f4ecca0b967.tar.gz |
Merge "Switch to decorators.idempotent_id"
-rw-r--r-- | doc/source/tempest.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/tempest.rst b/doc/source/tempest.rst index 0082430f..675a4f7a 100644 --- a/doc/source/tempest.rst +++ b/doc/source/tempest.rst @@ -159,7 +159,7 @@ included below: cls.client = cls.os.zones_client @test.attr(type='smoke') - @test.idempotent_id('fbabd6af-238a-462e-b923-de4d736b90a7') + @decorators.idempotent_id('fbabd6af-238a-462e-b923-de4d736b90a7') def test_create_zone(self): LOG.info('Create a zone') _, zone = self.client.create_zone() @@ -193,7 +193,7 @@ credentials are available using the class level "credentials" property like so: cls.client = cls.os.zones_client cls.adm_client = cls.os_adm.zones_client - @test.idempotent_id('6477f92d-70ba-46eb-bd6c-fc50c405e222') + @decorators.idempotent_id('6477f92d-70ba-46eb-bd6c-fc50c405e222') def test_get_other_tenant_zone(self): LOG.info('Create a zone as a user') _, zone = self.client.create_zone() @@ -214,7 +214,7 @@ Several different test decorators are used within the test cases, this attempts to explain their purpose and correct usage. -@test.idempotent_id +@decorators.idempotent_id ~~~~~~~~~~~~~~~~~~~ The `idempotent_id` decorator allows for tracking of tests even after they have @@ -229,7 +229,7 @@ Example: .. code-block:: python class ZonesTest(BaseZonesTest): - @test.idempotent_id('fbabd6af-238a-462e-b923-de4d736b90a7') + @decorators.idempotent_id('fbabd6af-238a-462e-b923-de4d736b90a7') def test_create_zone(self): pass |