Updates for stestr
Change-Id: I860981f06e31abda3141a0cb4fd13a0d49080b50
This commit is contained in:
parent
f63bb18003
commit
7274e8efe6
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@
|
|||||||
*~
|
*~
|
||||||
.coverage
|
.coverage
|
||||||
.idea
|
.idea
|
||||||
|
.stestr/
|
||||||
.testrepository
|
.testrepository
|
||||||
.tox
|
.tox
|
||||||
AUTHORS
|
AUTHORS
|
||||||
|
4
.stestr.conf
Normal file
4
.stestr.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
test_path=${OS_TEST_PATH:-./openstackclient/tests/unit}
|
||||||
|
top_dir=./
|
||||||
|
group_regex=([^\.]+\.)+
|
3
tox.ini
3
tox.ini
@ -8,6 +8,9 @@ usedevelop = True
|
|||||||
install_command =
|
install_command =
|
||||||
{toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
{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}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
|
OS_STDOUT_CAPTURE=1
|
||||||
|
OS_STDERR_CAPTURE=1
|
||||||
|
OS_TEST_TIMEOUT=60
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = ostestr {posargs}
|
commands = ostestr {posargs}
|
||||||
whitelist_externals = ostestr
|
whitelist_externals = ostestr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user