]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove TEMPEST_CONFIG_DIR in the api tox env
authorrossella <rsblendido@suse.com>
Wed, 11 Nov 2015 19:08:36 +0000 (19:08 +0000)
committerrossella <rsblendido@suse.com>
Wed, 11 Nov 2015 19:18:45 +0000 (19:18 +0000)
Setting TEMPEST_CONFIG_DIR in tox.ini is breaking the gate,
probably because of a tox bug [1].
Removing the line to unblock the gate. This implies that
for local execution of the tests TEMPEST_CONFIG_DIR
should be set manually.

[1] https://bitbucket.org/hpk42/tox/issues/285/tox-220-breaks-some-toxini-config-files

Change-Id: If3742b6eabe295a5aaeb4901c55909a70c451698
Closes-bug: #1515335

tox.ini

diff --git a/tox.ini b/tox.ini
index ef91b3ed40ada5eab80096db676456d6717ff163..26e8428925f99d90878398b845c5fb3e6159d7a1 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -23,8 +23,9 @@ commands =
 basepython = python2.7
 setenv = {[testenv]setenv}
          OS_TEST_PATH=./neutron/tests/api
-         TEMPEST_CONFIG_DIR={env:TEMPEST_CONFIG_DIR:/opt/stack/tempest/etc}
          OS_TEST_API_WITH_REST=1
+# If you are running the tests locally you should set the env variable
+# TEMPEST_CONFIG_DIR=/opt/stack/tempest/etc
 
 [testenv:common]
 # Fake job to define environment variables shared between dsvm/non-dsvm jobs