Merge "Switch to stestr"

This commit is contained in:
Zuul 2020-03-13 21:53:10 +00:00 committed by Gerrit Code Review
commit 8f169e1f1e
5 changed files with 6 additions and 8 deletions

2
.gitignore vendored
View File

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

3
.stestr.conf Normal file
View File

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

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

View File

@ -6,7 +6,7 @@ hacking<0.13,>=0.12.0 # Apache-2.0
python-subunit>=1.0.0 # Apache-2.0/BSD
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

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 =