From 25e6488e758bd1c6d05ffa74cc828243386758d2 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 4 Oct 2016 10:44:08 -0400 Subject: [PATCH] Switch coverage tox job to use pbr test command There is some weirdness around the pbr testr command and in some environments the coverage command doesn't include all the options. To remedy this lets just use the test command which is what works everywhere. Change-Id: I1d1bcb3e17363e4079c865cc1e94256ce2255bed --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8fb93969..df7c70b6 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ commands = flake8 commands = {posargs} [testenv:cover] -commands = python setup.py testr --coverage --coverage-package-name='elastic_recheck' --testr-args='{posargs} tests.unit' +commands = python setup.py test --coverage --coverage-package-name='elastic_recheck' --testr-args='{posargs} tests.unit' [testenv:run] # test to run the bot as a non voting foreground process