From 7f7098c25ee3a448d2c829eefd2e67d3246fda27 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 20 Jul 2016 07:19:08 -0500 Subject: [PATCH] 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 --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index 1470579f..7b3abc98 100644 --- a/tox.ini +++ b/tox.ini @@ -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" \