summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2017-09-14 16:31:53 -0500
committerDean Troyer <dtroyer@gmail.com>2017-09-15 06:32:58 +0000
commit7274e8efe620b076bfeb8f69e9a94a44b064cfb0 (patch)
tree98773df29e962814e9c33e0ba4f480dd4f895cea
parentf63bb180036c0f2d096eefaaaf2fbdd60a427343 (diff)
downloadpython-openstackclient-7274e8efe620b076bfeb8f69e9a94a44b064cfb0.tar.gz
Updates for stestr
Change-Id: I860981f06e31abda3141a0cb4fd13a0d49080b50
-rw-r--r--.gitignore1
-rw-r--r--.stestr.conf4
-rw-r--r--tox.ini3
3 files changed, 8 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 2c0139cf..54cdd4fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@
*~
.coverage
.idea
+.stestr/
.testrepository
.tox
AUTHORS
diff --git a/.stestr.conf b/.stestr.conf
new file mode 100644
index 00000000..75aec670
--- /dev/null
+++ b/.stestr.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+test_path=${OS_TEST_PATH:-./openstackclient/tests/unit}
+top_dir=./
+group_regex=([^\.]+\.)+
diff --git a/tox.ini b/tox.ini
index 7716ffb4..3c1b3c38 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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