Add smoke tag to compute version tests
Version API is important to know what versions are supported on clouds and the API operation is light-weight. It is nice to make these tests smoke like Neutron API tests. Change-Id: I4bd13b969cdb96e528c8c8d37bc9dbe1f8f8e476
This commit is contained in:
parent
1d0cc9c53f
commit
bcc1208acf
|
@ -14,11 +14,13 @@
|
|||
|
||||
from tempest.api.compute import base
|
||||
from tempest.lib import decorators
|
||||
from tempest import test
|
||||
|
||||
|
||||
class TestVersions(base.BaseV2ComputeTest):
|
||||
|
||||
@decorators.idempotent_id('6c0a0990-43b6-4529-9b61-5fd8daf7c55c')
|
||||
@test.attr(type='smoke')
|
||||
def test_list_api_versions(self):
|
||||
"""Test that a get of the unversioned url returns the choices doc.
|
||||
|
||||
|
@ -37,6 +39,7 @@ class TestVersions(base.BaseV2ComputeTest):
|
|||
"The first listed version should be v2.0")
|
||||
|
||||
@decorators.idempotent_id('b953a29e-929c-4a8e-81be-ec3a7e03cb76')
|
||||
@test.attr(type='smoke')
|
||||
def test_get_version_details(self):
|
||||
"""Test individual version endpoints info works.
|
||||
|
||||
|
|
Loading…
Reference in New Issue