diff options
author | Mark McLoughlin <markmc@redhat.com> | 2013-05-20 13:46:49 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2013-05-20 13:47:52 +0100 |
commit | 7bcee355909cea01429084889bdf03e3fdc76c74 (patch) | |
tree | 959ca1b0b189569de7e698dabe7f3972da0e7807 /tox.ini | |
parent | 2d579dd3f311d3c5cb9aa1658d81488bb526b09c (diff) | |
download | oslo-7bcee355909cea01429084889bdf03e3fdc76c74.tar.gz oslo-7bcee355909cea01429084889bdf03e3fdc76c74.tar.xz oslo-7bcee355909cea01429084889bdf03e3fdc76c74.zip |
Fix tox coverange env
We're not setting the VIRTUAL_ENV environment variable, so 'tox -ecover'
is failing because patch_tox_venv uses the variable.
Change-Id: I3898d0dd1f8a9bf4216253bb2c7d8491e1e8ce56
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,7 +29,8 @@ commands = python ./tools/lint.py ./openstack python ./tools/lint.py ./tests [testenv:cover] -setenv = NOSE_WITH_COVERAGE=1 +setenv = VIRTUAL_ENV={envdir} + NOSE_WITH_COVERAGE=1 [testenv:venv] commands = {posargs} |