]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Set TEMPEST_CONFIG_DIR in the api tox env
authorMaru Newby <marun@redhat.com>
Fri, 13 Mar 2015 18:17:29 +0000 (18:17 +0000)
committerMaru Newby <marun@redhat.com>
Fri, 13 Mar 2015 18:17:29 +0000 (18:17 +0000)
TEMPEST_CONFIG_DIR needs to be set for the api job to execute
successfully.  Previously this was being set by the gate but local
execution required manually setting the variable.

Change-Id: Ic1364388e812a5fca26f37049242f7d09ee75fef

tox.ini

diff --git a/tox.ini b/tox.ini
index 229dc2f1fe8a21501f9a890d36863b652d8e8946..9f7d991a5ed17c4415e9e237dca39a315ecb9adf 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -27,6 +27,7 @@ setenv = VIRTUAL_ENV={envdir}
 
 [testenv:api]
 setenv = OS_TEST_PATH=./neutron/tests/api
+         TEMPEST_CONFIG_DIR={env:TEMPEST_CONFIG_DIR:/opt/stack/tempest/etc}
 
 [testenv:functional]
 setenv = OS_TEST_PATH=./neutron/tests/functional