Skip to content

Commit 7274e8e

Browse files
author
Dean Troyer
committed
Updates for stestr
Change-Id: I860981f06e31abda3141a0cb4fd13a0d49080b50
1 parent f63bb18 commit 7274e8e

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*~
99
.coverage
1010
.idea
11+
.stestr/
1112
.testrepository
1213
.tox
1314
AUTHORS

.stestr.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[DEFAULT]
2+
test_path=${OS_TEST_PATH:-./openstackclient/tests/unit}
3+
top_dir=./
4+
group_regex=([^\.]+\.)+

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ usedevelop = True
88
install_command =
99
{toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
1010
setenv = VIRTUAL_ENV={envdir}
11+
OS_STDOUT_CAPTURE=1
12+
OS_STDERR_CAPTURE=1
13+
OS_TEST_TIMEOUT=60
1114
deps = -r{toxinidir}/test-requirements.txt
1215
commands = ostestr {posargs}
1316
whitelist_externals = ostestr

0 commit comments

Comments
 (0)