Migrate from testr to stestr
Note that the interface doesn't have any unit tests yet. Change-Id: I287ee425e7104a4ef62eb9244595c0809cc77ae7
This commit is contained in:
parent
5f13163013
commit
f11ee38d26
|
@ -1,2 +1,2 @@
|
|||
flake8>=2.2.4,<=2.4.1
|
||||
os-testr>=0.4.1
|
||||
flake8>=2.2.4
|
||||
stestr>=2.2.0
|
||||
|
|
8
tox.ini
8
tox.ini
|
@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
|
|||
PYTHONHASHSEED=0
|
||||
install_command =
|
||||
pip install {opts} {packages}
|
||||
commands = ostestr {posargs}
|
||||
commands = stestr run {posargs}
|
||||
|
||||
[testenv:py35]
|
||||
basepython = python3.5
|
||||
|
@ -25,6 +25,12 @@ deps = -r{toxinidir}/test-requirements.txt
|
|||
# TODO: Need to write unit tests then remove the following command.
|
||||
commands = /bin/true
|
||||
|
||||
[testenv:py3]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
# TODO: Need to write unit tests then remove the following command.
|
||||
commands = /bin/true
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
|
Loading…
Reference in New Issue