diff options
author | Sergey Reshetnyak <sreshetniak@mirantis.com> | 2015-02-02 14:15:49 +0300 |
---|---|---|
committer | Sergey Reshetnyak <sreshetniak@mirantis.com> | 2015-02-03 08:43:33 +0000 |
commit | 2eb52d6a18961c001dd13412debc23129dd06d71 (patch) | |
tree | c1404133148f493836df98cd64cd2af0d7b83ee8 /tox.ini | |
parent | a8308c9112381798398e6949e63785223f893c77 (diff) | |
download | python-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.ini | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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}' |