Browse Source

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: I3fb32622b029bfadef7f34e973d8277c107112f0
changes/22/580922/1
Vu Cong Tuan 2 years ago
parent
commit
96d57e684f
5 changed files with 6 additions and 8 deletions
  1. +1
    -1
      .gitignore
  2. +3
    -0
      .stestr.conf
  3. +0
    -5
      .testr.conf
  4. +1
    -1
      test-requirements.txt
  5. +1
    -1
      tox.ini

+ 1
- 1
.gitignore View File

@ -6,7 +6,7 @@
*.sqlite
*.swp
.coverage
.testrepository
.stestr/
.tox
.venv
.idea


+ 3
- 0
.stestr.conf View File

@ -0,0 +1,3 @@
[DEFAULT]
test_path=./barbican_tempest_plugin/tests
top_dir=./

+ 0
- 5
.testr.conf View File

@ -1,5 +0,0 @@
[DEFAULT]
test_command=${PYTHON:-python} -m subunit.run discover -s ./barbican_tempest_plugin -t . $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

+ 1
- 1
test-requirements.txt View File

@ -8,7 +8,7 @@ python-subunit>=1.0.0 # Apache-2.0/BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
oslosphinx>=4.7.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
stestr>=2.0.0 # Apache-2.0
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT


+ 1
- 1
tox.ini View File

@ -10,7 +10,7 @@ setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
commands = stestr run --slowest {posargs}
[testenv:pep8]
commands =


Loading…
Cancel
Save