Skip to content

Commit

Permalink
Updates for stestr
Browse files Browse the repository at this point in the history
Change-Id: I860981f06e31abda3141a0cb4fd13a0d49080b50
  • Loading branch information
Dean Troyer committed Sep 15, 2017
1 parent f63bb18 commit 7274e8e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*~
.coverage
.idea
.stestr/
.testrepository
.tox
AUTHORS
Expand Down
4 changes: 4 additions & 0 deletions .stestr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[DEFAULT]
test_path=${OS_TEST_PATH:-./openstackclient/tests/unit}
top_dir=./
group_regex=([^\.]+\.)+
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7274e8e

Please sign in to comment.