]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Revert "Remove TEMPEST_CONFIG_DIR in the api tox env"
authorIhar Hrachyshka <ihrachys@redhat.com>
Wed, 11 Nov 2015 19:16:44 +0000 (20:16 +0100)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 11 Nov 2015 19:18:14 +0000 (20:18 +0100)
This reverts commit a32e31a624cf5190ed267effed8f7db2c9919949.

We should be able to merge the revert back once tox project fixes the
bug* on their side.

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

Change-Id: Ic1f5391c687b2683cbaab210c543022aa1f26e83
Related-Bug: #1515335

tox.ini

diff --git a/tox.ini b/tox.ini
index 26e8428925f99d90878398b845c5fb3e6159d7a1..ef91b3ed40ada5eab80096db676456d6717ff163 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -23,9 +23,8 @@ 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