summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSergey Reshetnyak <sreshetniak@mirantis.com>2015-02-02 14:15:49 +0300
committerSergey Reshetnyak <sreshetniak@mirantis.com>2015-02-03 08:43:33 +0000
commit2eb52d6a18961c001dd13412debc23129dd06d71 (patch)
treec1404133148f493836df98cd64cd2af0d7b83ee8 /tox.ini
parenta8308c9112381798398e6949e63785223f893c77 (diff)
downloadpython-saharaclient-2eb52d6a18961c001dd13412debc23129dd06d71.tar.gz
Use pretty-tox for better test output
Changes: * add pretty-tox script * add tempest-lib library in test-requirements for formatting subunit output. It's needed for pretty-tox script * sort test-requirements in alphabetical order Change-Id: I8b3d1e95d4ff6a1cb3aa8a96c916bb73e552778c
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index ef26bcb..4608a49 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,13 +13,14 @@ setenv =
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:integration]
setenv =
VIRTUAL_ENV={envdir}
DISCOVER_DIRECTORY=saharaclient/tests/integration/
-commands = python setup.py test --slowest --testr-args="{posargs}"
+commands = bash tools/pretty_tox.sh "{posargs}"
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'