From b450ee6e8057680bd6eff21f63dc074a243f4b64 Mon Sep 17 00:00:00 2001 From: Isaac Mungai Date: Thu, 8 Sep 2016 09:25:26 -0400 Subject: [PATCH] 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 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 476fda8f..6a4b495a 100644 --- a/tox.ini +++ b/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}