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:
parent
fcdd97677c
commit
b450ee6e80
4
tox.ini
4
tox.ini
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user