Enable coverage report in console output

Enable coverage report in console output

Change-Id: I9f61f7547ceea0ab6472c58e83ad8ea29e1429e1
This commit is contained in:
Kevin_Zheng 2016-12-30 16:53:14 +08:00
parent dc681f4c13
commit 5df34a8263
1 changed files with 3 additions and 1 deletions

View File

@ -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