use os-testr instead of testr
Make use of the testr OpenStack wrapper ostestr instead of testr directly. Closes-Bug: #1566353 Change-Id: I85972dd09384dad22e3b78b0365b2026f1baef5c Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
29d8099a1f
commit
f248c0ef93
@ -22,6 +22,8 @@ testscenarios>=0.4 # Apache-2.0/BSD
|
||||
testtools>=1.4.0 # MIT
|
||||
psutil<2.0.0,>=1.1.1 # BSD
|
||||
oslotest>=1.10.0 # Apache-2.0
|
||||
os-testr>=0.4.1 # Apache-2.0
|
||||
|
||||
# Optional packages that should be installed when testing
|
||||
PyMySQL>=0.6.2 # MIT License
|
||||
psycopg2>=2.5 # LGPL/ZPL
|
||||
|
4
tox.ini
4
tox.ini
@ -8,9 +8,9 @@ setenv = VIRTUAL_ENV={envdir}
|
||||
usedevelop = True
|
||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}'
|
||||
commands = ostestr --slowest {posargs}
|
||||
whitelist_externals = bash
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
passenv = *_proxy *_PROXY
|
||||
|
||||
[testenv:releasenotes]
|
||||
# NOTE(jaegerandi): this target does not use constraints because
|
||||
|
Loading…
Reference in New Issue
Block a user