diff options
author | Clint Byrum <clint@fewbar.com> | 2015-02-28 07:45:01 -0800 |
---|---|---|
committer | Clint Byrum <clint@fewbar.com> | 2015-02-28 09:17:53 -0800 |
commit | f99dc5f293bb71185be2102ea646b07159faf0a0 (patch) | |
tree | 639c372ebe598e1b1a2479cb549ff396243d0d1d | |
parent | e483abccbb84a9dd49b266105309610ca0924fb2 (diff) | |
download | os-client-config-f99dc5f293bb71185be2102ea646b07159faf0a0.tar.gz |
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
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |