add coverage package name option to testr

since setup.cfg lists package name as poppycdn, running
coverage failed to generate any data. specify a package
as poppy different from the one in setup.cfg.

Change-Id: Iac721e9df96807b4182e49a6b29a25f0c5b3e0b0
This commit is contained in:
Isaac Mungai 2016-09-08 09:25:26 -04:00
parent fcdd97677c
commit b450ee6e80
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ commands =
install_command = pip install -U {opts} {packages}
basepython = python2.7
commands =
python setup.py testr --coverage --testr-args='{posargs}'
coverage report
python setup.py testr --coverage --coverage-package-name='poppy' --testr-args='{posargs}'
coverage xml
[testenv:venv]
commands = {posargs}