Merge "Switch to using stestr"

This commit is contained in:
Zuul 2018-07-17 10:48:45 +00:00 committed by Gerrit Code Review
commit 84acb2c343
5 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -53,6 +53,7 @@ ChangeLog
!/.mailmap !/.mailmap
!/.pylintrc !/.pylintrc
!/.testr.conf !/.testr.conf
!/.stestr.conf
contrib/vagrant/.vagrant contrib/vagrant/.vagrant

3
.stestr.conf Normal file
View File

@ -0,0 +1,3 @@
[DEFAULT]
test_path=${OS_TEST_PATH:-./kuryr_kubernetes/tests/}
top_dir=./

View File

@ -119,7 +119,7 @@ SQLAlchemy==1.2.5
sqlalchemy-migrate==0.11.0 sqlalchemy-migrate==0.11.0
sqlparse==0.2.4 sqlparse==0.2.4
statsd==3.2.2 statsd==3.2.2
stestr==2.0.0 stestr==1.0.0
stevedore==1.20.0 stevedore==1.20.0
Tempita==0.5.2 Tempita==0.5.2
tenacity==4.9.0 tenacity==4.9.0

View File

@ -9,7 +9,7 @@ ddt>=1.0.1 # MIT
docutils>=0.11 # OSI-Approved Open Source, Public Domain docutils>=0.11 # OSI-Approved Open Source, Public Domain
mock>=2.0.0 # BSD mock>=2.0.0 # BSD
python-subunit>=1.0.0 # Apache-2.0/BSD python-subunit>=1.0.0 # Apache-2.0/BSD
os-testr>=1.0.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD

View File

@ -14,7 +14,7 @@ whitelist_externals = sh
rm rm
commands = find {toxinidir} -type f -name "*.py[c|o]" -delete commands = find {toxinidir} -type f -name "*.py[c|o]" -delete
rm -f .testrepository/times.dbm rm -f .testrepository/times.dbm
ostestr '{posargs}' stestr run '{posargs}'
[testenv:fullstack] [testenv:fullstack]
basepython = python2.7 basepython = python2.7