Browse Source

Switch to using stestr

According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects should migrate.

Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Idf2f91565f9205c745a7110be5bf81267bd3caf5
Signed-off-by: Chuck Short <chucks@redhat.com>
changes/53/579253/8
Chuck Short 3 years ago
parent
commit
055f31365e
5 changed files with 7 additions and 3 deletions
  1. +1
    -0
      .gitignore
  2. +3
    -0
      .stestr.conf
  3. +1
    -1
      lower-constraints.txt
  4. +1
    -1
      test-requirements.txt
  5. +1
    -1
      tox.ini

+ 1
- 0
.gitignore View File

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


+ 3
- 0
.stestr.conf View File

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

+ 1
- 1
lower-constraints.txt View File

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


+ 1
- 1
test-requirements.txt View File

@ -9,7 +9,7 @@ ddt>=1.0.1 # MIT
docutils>=0.11 # OSI-Approved Open Source, Public Domain
mock>=2.0.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
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD


+ 1
- 1
tox.ini View File

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


Loading…
Cancel
Save