tox: use os-testr instead of testr

Make use of the testr OpenStack wrapper ostestr instead of
testr directly.

Closes-Bug: #1566354

Change-Id: I396be386c34e5e2a6587921aacd8eefa4622713a
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2016-04-05 16:36:45 +02:00
parent 187d77da04
commit 7b94d3c141
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
oslotest>=1.10.0 # Apache-2.0
os-testr>=0.4.1 # Apache-2.0
# this is required for the docs build jobs
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD

View File

@ -10,7 +10,7 @@ install_command = pip install --allow-all-external --allow-insecure netaddr -U {
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
.[s3,vmware,swift,cinder]
commands = python setup.py testr --slowest --testr-args='{posargs}'
commands = ostestr --slowest {posargs}
[testenv:docs]
commands = python setup.py build_sphinx