Enable code coverage report in console output

Change the behaviour of tox -e cover to also print the coverage report
to the console, rather than only creating html files that contain the
report. This is a convenience change and should provide a better user
experience.

Change-Id: I10dca81fa600083ec5e0471e88aaa712a1e68bf6
This commit is contained in:
pawnesh.kumar
2016-10-19 16:55:07 +05:30
committed by Steve Martinelli
parent 05a64576e6
commit dea52657e6

View File

@@ -31,6 +31,7 @@ commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
coverage report
[testenv:debug]
commands = oslo_debug_helper -t keystoneclient/tests {posargs}