Use pretty-tox for better test output
Change-Id: I08115ff0367ae857b523a8902e4da704e094d266
This commit is contained in:
parent
31f87d4219
commit
8fceb1cc56
@ -9,6 +9,7 @@ fixtures>=0.3.14
|
||||
mock>=1.0
|
||||
posix_ipc
|
||||
sqlalchemy-migrate>=0.9.1,!=0.9.2
|
||||
tempest-lib
|
||||
testrepository>=0.0.18
|
||||
testresources>=0.2.4
|
||||
testscenarios>=0.4
|
||||
|
6
tools/pretty_tox.sh
Executable file
6
tools/pretty_tox.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o pipefail
|
||||
|
||||
TESTRARGS=$1
|
||||
python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | subunit-trace -f
|
2
tox.ini
2
tox.ini
@ -11,7 +11,7 @@ setenv =
|
||||
DISCOVER_DIRECTORY=murano/tests/unit
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = python setup.py test --slowest --testr-args="{posargs}"
|
||||
commands = bash tools/pretty_tox.sh '{posargs}'
|
||||
whitelist_externals = bash
|
||||
|
||||
[testenv:pep8]
|
||||
|
Loading…
Reference in New Issue
Block a user