Add check for idempotent id in tempest tests

Idempotent id for tempest tests must be unique, as it's used to
trace tests even in the event of refactors. This patch adds a new
check using check-uuid tool from tempest to validate id uniqueness.

Change-Id: I415699d2349ee0c4becfb404c60a06f244f78ba0
This commit is contained in:
Jeremy Liu 2017-04-01 17:08:38 +08:00 committed by Renat Akhmerov
parent 8eb71e9582
commit 97ccad154a
2 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,7 @@ sphinx>=1.5.1 # BSD
sphinxcontrib-httpdomain # BSD
sphinxcontrib-pecanwsme>=0.8 # Apache-2.0
openstackdocstheme>=1.5.0 # Apache-2.0
tempest>=14.0.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
unittest2 # BSD

View File

@ -29,7 +29,9 @@ passenv = ZUUL_PROJECT
commands = ./run_tests.sh -N --db-type mysql
[testenv:pep8]
commands = flake8 {posargs} . {toxinidir}/tools/get_action_list.py {toxinidir}/tools/sync_db.py
commands =
flake8 {posargs} . {toxinidir}/tools/get_action_list.py {toxinidir}/tools/sync_db.py
check-uuid --package mistral_tempest_tests
[testenv:cover]
# Also do not run test_coverage_ext tests while gathering coverage as those