]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Add VIRTUAL_ENV key to enviroment passed to patch_tox_env
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 28 Mar 2013 14:17:21 +0000 (15:17 +0100)
committerSalvatore Orlando <salv.orlando@gmail.com>
Thu, 28 Mar 2013 14:21:51 +0000 (15:21 +0100)
Bug 1161413

Change-Id: I873d90c148c2adf15319faeb6290743eda2d52aa

tox.ini

diff --git a/tox.ini b/tox.ini
index 08e723527aff1a4bce4304840639fa55a6872ea3..32639098f0c65fad46f0c1b4a6e7bd31463a9496 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -33,7 +33,8 @@ commands =
 commands = python ./tools/check_i18n.py ./quantum ./tools/i18n_cfg.py
 
 [testenv:cover]
-setenv = NOSE_WITH_COVERAGE=1
+setenv = VIRTUAL_ENV={envdir}
+         NOSE_WITH_COVERAGE=1
 
 [testenv:venv]
 commands = {posargs}