From c8f1ca16506568d34fb411fc8c44901f51cf1943 Mon Sep 17 00:00:00 2001 From: Ivan Kolodyazhny Date: Wed, 17 Feb 2016 16:10:12 +0200 Subject: [PATCH] Use ostestr as a tests runner ostestr has more user-friendly output including lists of all and failed tests. Change-Id: I6db42b0f7480d79b85e20334fb3c2d8236efc316 --- test-requirements.txt | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 2ed1556c1..d237b053e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,3 +15,4 @@ sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD tempest-lib>=0.14.0 # Apache-2.0 testtools>=1.4.0 # MIT testrepository>=0.0.18 # Apache-2.0/BSD +os-testr>=0.4.1 # Apache-2.0 diff --git a/tox.ini b/tox.ini index b08c4daba..19a26d74d 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ passenv = *_proxy *_PROXY deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = find . -type f -name "*.pyc" -delete - python setup.py testr --testr-args='{posargs}' + ostestr {posargs} whitelist_externals = find [testenv:pep8]