Allow --testr-args for tox -ecover

This allows the user to run code coverage on specific tests.

Change-Id: I29ed5c320418c82e2bc79b0a32fbea9a81be5a28
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-10-23 17:19:54 -04:00
parent 3f9732a20f
commit d745eb483f
1 changed files with 2 additions and 1 deletions

View File

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