From 7274e8efe620b076bfeb8f69e9a94a44b064cfb0 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Thu, 14 Sep 2017 16:31:53 -0500 Subject: [PATCH] Updates for stestr Change-Id: I860981f06e31abda3141a0cb4fd13a0d49080b50 --- .gitignore | 1 + .stestr.conf | 4 ++++ tox.ini | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 .stestr.conf diff --git a/.gitignore b/.gitignore index 2c0139cf68..54cdd4fccf 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 0000000000..75aec670d7 --- /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 7716ffb4c4..3c1b3c387a 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