From f99dc5f293bb71185be2102ea646b07159faf0a0 Mon Sep 17 00:00:00 2001
From: Clint Byrum <clint@fewbar.com>
Date: Sat, 28 Feb 2015 07:45:01 -0800
Subject: [PATCH] Fix coverage report

Coverage can't handle package names that have dashes, as it uses the
package name to look for the base module name. So we need to pass in the
base module name as it is imported.

Change-Id: I2840eea85acaee2d05cab47fb67010e002a14bc0
---
 tox.ini | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index 9be310a..860e337 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,7 +19,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=os_client_config --testr-args='{posargs}'
 
 [testenv:docs]
 commands = python setup.py build_sphinx
@@ -31,4 +31,4 @@ commands = python setup.py build_sphinx
 show-source = True
 ignore = E123,E125,H803
 builtins = _
-exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
\ No newline at end of file
+exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build