From 63fffeacd8c6faf99448ea0d5914af97977e07ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Antal?= Date: Thu, 3 Mar 2016 09:45:41 +0100 Subject: [PATCH] Remove tests omission from coverage target in tox.ini In coverage target in tox.ini, there is the following argument: --omit="watcher/tests/*" However, in .coveragerc, the tests are also omitted, according to line 4 in .coveragerc: omit = watcher/tests/* So the watcher/tests/* directory is omitted twice. As it can be seen in other modules (e.g.: swift, nova) omitting only in .coveragerc should be enough. Change-Id: I72951196a346fb73a90c998138fc91dd171432cd Closes-Bug: #1552617 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d3c8e753e..36f76fe13 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ setenv = PYTHONHASHSEED=0 commands = {posargs} [testenv:cover] -commands = python setup.py testr --coverage --omit="watcher/tests/*" --testr-args='{posargs}' +commands = python setup.py testr --coverage --testr-args='{posargs}' [testenv:docs] setenv = PYTHONHASHSEED=0