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
This commit is contained in:
Matthew Treinish 2016-10-04 10:44:08 -04:00
parent 9e47781867
commit 25e6488e75
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
1 changed files with 1 additions and 1 deletions

View File

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