Use ostestr instead of the custom pretty_tox.sh

Switch to os-testr as wrapper for testr, instead of the custom
script pretty_tox.sh.

Change-Id: I70c99b82a837cc0caffadebaeb27192ecfe6f6ba
This commit is contained in:
Luigi Toscano 2017-02-09 11:31:36 +01:00
parent 9df1719ff1
commit 940dd5c41e
3 changed files with 2 additions and 8 deletions

View File

@ -9,7 +9,7 @@ python-subunit
sphinx>=1.1.2
oslosphinx
oslotest>=1.1.0.0a1
tempest-lib
os-testr>=0.4.1
testrepository>=0.0.18
testscenarios>=0.4
testtools>=0.9.34

View File

@ -1,6 +0,0 @@
#!/usr/bin/env bash
set -o pipefail
TESTRARGS=$1
python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | subunit-trace -f

View File

@ -10,7 +10,7 @@ setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = bash tools/pretty_tox.sh '{posargs}'
commands = ostestr '{posargs}'
[testenv:pep8]
commands = flake8