summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Dague <sean@dague.net>2016-08-12 06:31:41 -0400
committerSean Dague <sean@dague.net>2016-08-12 06:34:21 -0400
commit04613efbcf37d9c2d3b99bc83acb9fc806d1895b (patch)
treee4e36fe67d9b6a8874dd91dff27c257875eb728d
parent4d971af927256e7e32dcfb5a43d5c4487f9c4af9 (diff)
downloadpython-novaclient-04613efbcf37d9c2d3b99bc83acb9fc806d1895b.tar.gz
Make novaclient functional tests use pretty tox
This makes local running of the tests much nicer as we can see the progress of successful tests working around the testr issue of showing no output until the end of the run. Change-Id: I4adc965fd95b6e79a3ec26614d1c9f98262593b9
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 92212f75..99916ec7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -42,14 +42,14 @@ basepython = python2.7
passenv = OS_NOVACLIENT_TEST_NETWORK
setenv =
OS_TEST_PATH = ./novaclient/tests/functional
-commands = python setup.py testr --testr-args='--concurrency=1 {posargs}'
+commands = bash tools/pretty_tox.sh '--concurrency=1 {posargs}'
[testenv:functional-py34]
basepython = python3.4
passenv = OS_NOVACLIENT_TEST_NETWORK
setenv =
OS_TEST_PATH = ./novaclient/tests/functional
-commands = python setup.py testr --testr-args='--concurrency=1 {posargs}'
+commands = bash tools/pretty_tox.sh '--concurrency=1 {posargs}'
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'