Fix tox coverage job

To run the tempest unit tests with coverage enabled the coverage
module needs to be installed. This requirement is properly listed in
test-requirements.txt, however the coverage job definition wasn't
installing coverage. This commit fixes this oversight by adding the
test-requirements file as a dependency for the job.

Change-Id: Ic443c6c4a3166e6b198cbe2af0a77ff2f0a38e83
This commit is contained in:
Matthew Treinish 2014-08-26 19:08:43 -04:00
parent a5498644ef
commit 3a48181b1d

View File

@ -29,6 +29,8 @@ commands = python setup.py test --slowest --testr-arg='tempest\.tests {posargs}'
setenv = OS_TEST_PATH=./tempest/tests setenv = OS_TEST_PATH=./tempest/tests
PYTHONHASHSEED=0 PYTHONHASHSEED=0
commands = python setup.py testr --coverage --testr-arg='tempest\.tests {posargs}' commands = python setup.py testr --coverage --testr-arg='tempest\.tests {posargs}'
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:all] [testenv:all]
sitepackages = True sitepackages = True