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: I8b0f96f05799b892acfae03522726c17010f0df3
This commit is contained in:
parent
88b95ae654
commit
e76f2a5f90
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,7 +5,6 @@
|
|||||||
.coveragerc
|
.coveragerc
|
||||||
.coverage.*
|
.coverage.*
|
||||||
.venv
|
.venv
|
||||||
*.testrepository
|
|
||||||
.stestr/
|
.stestr/
|
||||||
|
|
||||||
openstack_cyborg.egg-info
|
openstack_cyborg.egg-info
|
||||||
|
3
.stestr.conf
Normal file
3
.stestr.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
test_path=./
|
||||||
|
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
|
|
@ -2,26 +2,26 @@
|
|||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
pbr!=2.1.0 # Apache-2.0
|
pbr>=0.11,!=2.1.0 # Apache-2.0
|
||||||
pecan!=1.0.2,!=1.0.3,!=1.0.4,!=1.2 # BSD
|
pecan>=1.0.0,!=1.0.2,!=1.0.3,!=1.0.4,!=1.2 # BSD
|
||||||
WSME # MIT
|
WSME>=0.8.0 # MIT
|
||||||
six # MIT
|
six>=1.8.0 # MIT
|
||||||
eventlet!=0.18.3,!=0.20.1,!=0.21.0 # MIT
|
eventlet>=0.12.0,!=0.18.3,!=0.20.1,!=0.21.0 # MIT
|
||||||
oslo.i18n # Apache-2.0
|
oslo.i18n>=1.5.0 # Apache-2.0
|
||||||
oslo.config!=4.3.0,!=4.4.0 # Apache-2.0
|
oslo.config>=1.1.0,!=4.3.0,!=4.4.0 # Apache-2.0
|
||||||
oslo.log # Apache-2.0
|
oslo.log>=1.14.0 # Apache-2.0
|
||||||
oslo.context # Apache-2.0
|
oslo.context>=2.9.0 # Apache-2.0
|
||||||
oslo.messaging # Apache-2.0
|
oslo.messaging>=5.29.0 # Apache-2.0
|
||||||
oslo.concurrency # Apache-2.0
|
oslo.concurrency>=3.26.0 # Apache-2.0
|
||||||
oslo.service!=1.28.1 # Apache-2.0
|
oslo.service>=1.0.0,!=1.28.1 # Apache-2.0
|
||||||
oslo.db # Apache-2.0
|
oslo.db>=4.1.0 # Apache-2.0
|
||||||
oslo.utils # Apache-2.0
|
oslo.utils>=3.33.0 # Apache-2.0
|
||||||
oslo.versionedobjects # Apache-2.0
|
oslo.versionedobjects>=1.31.2 # Apache-2.0
|
||||||
oslo.policy # Apache-2.0
|
oslo.policy>=0.5.0 # Apache-2.0
|
||||||
SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8 # MIT
|
SQLAlchemy>=0.9.0,!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8 # MIT
|
||||||
alembic # MIT
|
alembic>=0.8.10 # MIT
|
||||||
stevedore # Apache-2.0
|
stevedore>=1.5.0 # Apache-2.0
|
||||||
keystonemiddleware # Apache-2.0
|
keystonemiddleware>=4.17.0 # Apache-2.0
|
||||||
jsonpatch!=1.20 # BSD
|
jsonpatch>=1.16,!=1.20 # BSD
|
||||||
psutil # BSD
|
psutil>=3.2.2 # BSD
|
||||||
mock # BSD
|
mock>=2.0.0 # BSD
|
||||||
|
@ -4,20 +4,20 @@
|
|||||||
|
|
||||||
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
||||||
|
|
||||||
coverage!=4.4 # Apache-2.0
|
coverage>=3.6,!=4.4 # Apache-2.0
|
||||||
fixtures # Apache-2.0/BSD
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||||
mock # BSD
|
mock>=2.0.0 # BSD
|
||||||
sphinx!=1.6.6,!=1.6.7 # BSD
|
sphinx>=1.6.2,!=1.6.6,!=1.6.7 # BSD
|
||||||
ddt # MIT
|
ddt>=1.0.1 # MIT
|
||||||
oslosphinx # Apache-2.0
|
oslosphinx>=4.7.0 # Apache-2.0
|
||||||
oslotest # Apache-2.0
|
oslotest>=3.2.0 # Apache-2.0
|
||||||
testrepository # Apache-2.0/BSD
|
stestr>=2.0.0 # Apache-2.0/BSD
|
||||||
testresources # Apache-2.0/BSD
|
testresources>=2.0.0 # Apache-2.0/BSD
|
||||||
testscenarios # Apache-2.0/BSD
|
testscenarios>=0.4 # Apache-2.0/BSD
|
||||||
testtools # MIT
|
testtools>=0.9.32 # MIT
|
||||||
sphinxcontrib-pecanwsme # Apache-2.0
|
sphinxcontrib-pecanwsme>=0.2 # Apache-2.0
|
||||||
sphinxcontrib-seqdiag # BSD
|
sphinxcontrib-seqdiag>=0.8.4 # BSD
|
||||||
reno # Apache-2.0
|
reno>=1.8.0 # Apache-2.0
|
||||||
os-api-ref # Apache-2.0
|
os-api-ref>=1.4.0 # Apache-2.0
|
||||||
tempest # Apache-2.0
|
tempest>=17.1.0 # Apache-2.0
|
||||||
doc8>=0.6.0 # Apache-2.0
|
doc8>=0.6.0 # Apache-2.0
|
||||||
|
10
tox.ini
10
tox.ini
@ -11,7 +11,7 @@ setenv =
|
|||||||
OS_TEST_PATH=cyborg/tests/unit
|
OS_TEST_PATH=cyborg/tests/unit
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = rm -f .testrepository/times.dbm
|
commands = rm -f .testrepository/times.dbm
|
||||||
python setup.py test --slowest --testr-args='{posargs}'
|
stestr run --slowest {posargs}
|
||||||
|
|
||||||
[testenv:common-constraints]
|
[testenv:common-constraints]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
@ -48,7 +48,13 @@ commands = {posargs}
|
|||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
setenv =
|
||||||
|
PYTHON=coverage run --source $project --parallel-mode
|
||||||
|
commands =
|
||||||
|
stestr run '{posargs}'
|
||||||
|
coverage combine
|
||||||
|
coverage html -d cover
|
||||||
|
coverage xml -o cover/coverage.xml
|
||||||
|
|
||||||
[doc8]
|
[doc8]
|
||||||
ignore-path = .venv,.git,.tox,*cyborg/locale*,*lib/python*,*cyborg.egg*,api-ref/build,doc/build,doc/source/contributor/api
|
ignore-path = .venv,.git,.tox,*cyborg/locale*,*lib/python*,*cyborg.egg*,api-ref/build,doc/build,doc/source/contributor/api
|
||||||
|
Loading…
x
Reference in New Issue
Block a user