Switch to stestr
According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: If740b4f0946c15a3bb3c3f405edbcee66e66c460
This commit is contained in:
parent
e26281da2b
commit
aebbade4fd
|
@ -22,8 +22,7 @@ pip-log.txt
|
||||||
.coverage
|
.coverage
|
||||||
cover
|
cover
|
||||||
.tox
|
.tox
|
||||||
nosetests.xml
|
.stestr/
|
||||||
.testrepository
|
|
||||||
|
|
||||||
# Developer
|
# Developer
|
||||||
.project
|
.project
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[DEFAULT]
|
||||||
|
test_path=./tests
|
||||||
|
top_dir=./
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
[DEFAULT]
|
|
||||||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
|
||||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
|
||||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
|
|
||||||
${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION
|
|
||||||
test_id_option=--load-list $IDFILE
|
|
||||||
test_list_option=--list
|
|
|
@ -4,7 +4,7 @@
|
||||||
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||||
aodhclient>=0.9.0 # Apache-2.0
|
aodhclient>=0.9.0 # Apache-2.0
|
||||||
gnocchiclient>=3.3.1 # Apache-2.0
|
gnocchiclient>=3.3.1 # Apache-2.0
|
||||||
python-barbicanclient!=4.5.0,!=4.5.1,>=4.0.0 # Apache-2.0
|
python-barbicanclient>=4.5.2 # Apache-2.0
|
||||||
python-congressclient<2000,>=1.3.0 # Apache-2.0
|
python-congressclient<2000,>=1.3.0 # Apache-2.0
|
||||||
python-designateclient>=2.7.0 # Apache-2.0
|
python-designateclient>=2.7.0 # Apache-2.0
|
||||||
python-heatclient>=1.10.0 # Apache-2.0
|
python-heatclient>=1.10.0 # Apache-2.0
|
||||||
|
|
|
@ -5,6 +5,7 @@ hacking<0.11,>=0.10.0
|
||||||
|
|
||||||
# this is required for the tests
|
# this is required for the tests
|
||||||
oslotest>=1.10.0 # Apache-2.0
|
oslotest>=1.10.0 # Apache-2.0
|
||||||
|
stestr>=2.0.0 # Apache-2.0
|
||||||
|
|
||||||
# this is required for the docs
|
# this is required for the docs
|
||||||
sphinx>=1.6.2 # BSD
|
sphinx>=1.6.2 # BSD
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -4,7 +4,7 @@ envlist = py35,py27,pep8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands = stestr run --slowest {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
deps=-r{toxinidir}/test-requirements.txt
|
deps=-r{toxinidir}/test-requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue