From 06e9b1357783f51743ee61c8a8666d1352daa616 Mon Sep 17 00:00:00 2001 From: Yushiro FURUKAWA Date: Wed, 13 Apr 2016 06:50:56 +0900 Subject: [PATCH] Fix coverage option and execution --coverage-package-name option was no longer supported by 'testr'[1]. This commit replaces from 'testr' to 'test' as coverage option. [1] https://review.openstack.org/#/c/217847/ Change-Id: Ibb5c178ccd9063f94fc3b3fac4d395494c3539b3 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b63f94dd..a8c2794b 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ commands = flake8 {toxinidir}/openstack_health {posargs} [testenv:cover] -commands = python setup.py testr --coverage --coverage-package-name='openstack_health' --testr-args={posargs} +commands = python setup.py test --coverage --coverage-package-name='openstack_health' --testr-args={posargs} [flake8] # E125 is a won't fix until https://github.com/jcrocholl/pep8/issues/126 is resolved. For further detail see https://review.openstack.org/#/c/36788/