From ca4566f2e468553e7e31429c86c271a95643e55f Mon Sep 17 00:00:00 2001 From: Matthew Gilliard Date: Thu, 23 Oct 2014 14:58:30 +0100 Subject: [PATCH] Repair tox -ecover Some tests are ignored during the invocation of 'tox -epy27' and similar, but they were not ignored during the 'cover' profile. Becuase the ignored tests actually fail when run this means that 'tox -ecover' could not be used. This patch just ignores the same tests in the 'cover' profile as the default. Change-Id: I7952c312addfed87f6055c1a360adfbf1fd5b168 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 873adfac53..61caff3851 100644 --- a/tox.ini +++ b/tox.ini @@ -33,7 +33,7 @@ commands = {posargs} [testenv:cover] commands = - python setup.py testr --coverage --testr-args='{posargs}' + python setup.py testr --coverage --testr-args='^(?!heat_integrationtests) {posargs}' [testenv:docs] deps = -r{toxinidir}/requirements.txt