Restore check/audit test in tox.ini

The check/audit mode test in tox.ini was removed in
If42e739002e36669044a9396e233dbd382add4c8 with the tox.ini cleanup.
This patch adds it back into tox.ini so that it runs prior to the
functional tests.

Change-Id: I1842c8170ec532baf713ab789ffe389369c5e48e
This commit is contained in:
Major Hayden
2016-07-20 07:19:08 -05:00
parent cc01563a1c
commit 7f7098c25e

View File

@@ -165,6 +165,14 @@ setenv =
# to true.
commands =
{[testenv:ansible]commands}
# NOTE(mhayden): Check/audit mode is a feature of the role and it should
# be tested prior to running the functional test.
ansible-playbook --check \
-i {toxinidir}/tests/inventory \
-e "rolename={toxinidir}" \
-e "install_test_packages=True" \
--skip-tag V-38462 \
{toxinidir}/tests/test_check.yml -vvvv
ansible-playbook -i {toxinidir}/tests/inventory \
-e "rolename={toxinidir}" \
-e "install_test_packages=True" \