From 82b4781972b0b609202e69f787d8175022536032 Mon Sep 17 00:00:00 2001 From: liusheng Date: Wed, 4 Jan 2017 09:37:43 +0800 Subject: [PATCH] Enable tests coverage report when run tox -ecover Change-Id: I67899041ba658af8bca36475e79e1362575c9e94 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 461c639..64e6d53 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,9 @@ commands = flake8 {posargs} commands = {posargs} [testenv:cover] -commands = python setup.py test --coverage --testr-args='{posargs}' +commands = + python setup.py test --coverage --testr-args='{posargs}' + coverage report [testenv:docs] commands = python setup.py build_sphinx