From 6652542231eefa5eb728e124c3228b6fc7de122f Mon Sep 17 00:00:00 2001 From: Sergey Reshetnyak Date: Wed, 26 Oct 2016 18:52:52 +0300 Subject: [PATCH] Use os-testr for launch tests os-testr makes subunit output more readable Change-Id: Ie47e740ec447cb53df3586d5cb6eb537db8eea71 --- test-requirements.txt | 7 ++++--- tox.ini | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 7a43f599..1dc96d1b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,11 +7,12 @@ hacking<0.12,>=0.11.0 # Apache-2.0 bashate>=0.2 # Apache-2.0 coverage>=3.6 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD -python-subunit>=0.0.18 # Apache-2.0/BSD -sphinx!=1.3b1,<1.4,>=1.2.1 # BSD +os-testr>=0.8.0 # Apache-2.0 oslosphinx>=4.7.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0 +python-openstackclient>=3.3.0 # Apache-2.0 +python-subunit>=0.0.18 # Apache-2.0/BSD +sphinx!=1.3b1,<1.4,>=1.2.1 # BSD testrepository>=0.0.18 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD testtools>=1.4.0 # MIT -python-openstackclient>=3.3.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 3256e11e..6a232aea 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ setenv = deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = python setup.py test --slowest --testr-args='{posargs}' +commands = ostestr {posargs} passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:pep8]