Updates for stestr

Change-Id: I860981f06e31abda3141a0cb4fd13a0d49080b50
This commit is contained in:
Dean Troyer 2017-09-14 16:31:53 -05:00
parent f63bb18003
commit 7274e8efe6
3 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -8,6 +8,7 @@
*~
.coverage
.idea
.stestr/
.testrepository
.tox
AUTHORS

4
.stestr.conf Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
test_path=${OS_TEST_PATH:-./openstackclient/tests/unit}
top_dir=./
group_regex=([^\.]+\.)+

View File

@ -8,6 +8,9 @@ usedevelop = True
install_command =
{toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
deps = -r{toxinidir}/test-requirements.txt
commands = ostestr {posargs}
whitelist_externals = ostestr