Merge "Updates for stestr"

This commit is contained in:
Jenkins 2017-10-06 15:42:44 +00:00 committed by Gerrit Code Review
commit 5407e6d660
3 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View File

@ -27,6 +27,7 @@ pip-log.txt
nosetests.xml nosetests.xml
.testrepository .testrepository
cover cover
.stestr/
# Translations # Translations
*.mo *.mo

3
.stestr.conf Normal file
View File

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

View File

@ -9,14 +9,15 @@ install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:h
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
BRANCH_NAME=master BRANCH_NAME=master
CLIENT_NAME=keystonemiddleware CLIENT_NAME=keystonemiddleware
OS_STDOUT_NOCAPTURE=False OS_STDOUT_CAPTURE=1
OS_STDERR_NOCAPTURE=False OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
TESTS_DIR=./keystonemiddleware/tests/unit/ TESTS_DIR=./keystonemiddleware/tests/unit/
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
.[audit_notifications] .[audit_notifications]
commands = ostestr {posargs} commands = stestr run {posargs}
[testenv:pep8] [testenv:pep8]
commands = commands =