tox: fix coverage call

We changed the pypi package name to kuryr-lib so we need to give a hint
to testr so it knows where to find the module for coverage.

Closes-bug: #1628843
Change-Id: Ic1a8576a4ced2615152889b7ab742bb00a4ce565
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
This commit is contained in:
Antoni Segura Puimedon 2016-09-29 11:09:05 +02:00
parent e17ecd5b45
commit cae8019e44
No known key found for this signature in database
GPG Key ID: 2329618D2967720A
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,6 @@
[run]
branch = True
source = kuryr
omit = kuryr/tests/*
[report]

View File

@ -43,7 +43,8 @@ commands = {posargs}
[testenv:cover]
commands =
python setup.py testr --coverage --testr-args='{posargs}'
python setup.py test --coverage --testr-args='{posargs}' \
--coverage-package-name=kuryr.lib
coverage report
[testenv:docs]