From e00868db72e30b79e2d259149165a2d4b84e4476 Mon Sep 17 00:00:00 2001 From: Ronald Bradford Date: Thu, 1 Oct 2015 09:37:10 -0400 Subject: Fix coverage configuration and execution A number of configuration errors prevent the successful creation of code coverage. This corrects the .coveragerc source/omit setup and the tox package name generation. http://lists.openstack.org/pipermail/openstack-dev/2015-October/076193.html Change-Id: I677ca6ed73096cf408455cd0968a488a1cbab636 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index f8603fa..66a1cab 100644 --- a/tox.ini +++ b/tox.ini @@ -41,7 +41,7 @@ commands = flake8 commands = {posargs} [testenv:cover] -commands = python setup.py testr --coverage --testr-args='{posargs}' +commands = python setup.py test --coverage --coverage-package-name=oslo_db --testr-args='{posargs}' [testenv:docs] commands = -- cgit v1.2.1