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:
parent
187d77da04
commit
7b94d3c141
@ -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
|
||||
|
2
tox.ini
2
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user