From 3a48181b1dc8b2f1cc31669919c9bed4c97e4823 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 26 Aug 2014 19:08:43 -0400 Subject: [PATCH] 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 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index a071d4b426..6ec0b2c924 100644 --- a/tox.ini +++ b/tox.ini @@ -29,6 +29,8 @@ commands = python setup.py test --slowest --testr-arg='tempest\.tests {posargs}' setenv = OS_TEST_PATH=./tempest/tests PYTHONHASHSEED=0 commands = python setup.py testr --coverage --testr-arg='tempest\.tests {posargs}' +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt [testenv:all] sitepackages = True