From 5df34a8263132c1dbb714343d95b71d46fa8a77a Mon Sep 17 00:00:00 2001 From: Kevin_Zheng Date: Fri, 30 Dec 2016 16:53:14 +0800 Subject: [PATCH] Enable coverage report in console output Enable coverage report in console output Change-Id: I9f61f7547ceea0ab6472c58e83ad8ea29e1429e1 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a3d33f6a..59900ffc 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,9 @@ commands = pifpaf -g AODH_TEST_STORAGE_URL run mysql -- python setup.py testr --testr-args="{posargs}" [testenv:cover] -commands = pifpaf -g AODH_TEST_STORAGE_URL run mysql -- python setup.py testr --slowest --coverage --testr-args="{posargs}" +commands = + pifpaf -g AODH_TEST_STORAGE_URL run mysql -- python setup.py testr --slowest --coverage --testr-args="{posargs}" + coverage report [testenv:pep8] deps = hacking>=0.12,<0.13