summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2021-08-16 16:04:24 +0100
committerStephen Finucane <stephenfin@redhat.com>2022-02-08 14:46:42 +0000
commite7642fd2c8b8da1ecf18b914a4b773879861c6e8 (patch)
treebf1bfee3c5d7253df833acf6b27ae532f07c12ea
parent4c451b7df55f3f77af7339ed38b49bdb5747e52e (diff)
downloadoslo-db-e7642fd2c8b8da1ecf18b914a4b773879861c6e8.tar.gz
tox: Silence output
Enable the 'CaptureOutput' fixture provided by oslotest by default. Change-Id: Ib34d8ab411a67816db2e26b49bec75993b5bed56 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 1cc1071..cfe61bb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,6 +10,8 @@ allowlist_externals =
passenv =
OS_TEST_DBAPI_ADMIN_CONNECTION
setenv =
+ OS_STDOUT_CAPTURE=true
+ OS_STDERR_CAPTURE=true
BASECOMMAND=stestr run
{postgresql,all}: PIFPAF_POSTGRESQL=pifpaf -g OS_TEST_DBAPI_ADMIN_CONNECTION run postgresql --
{mysql,all}: PIFPAF_MYSQL=pifpaf -g OS_TEST_DBAPI_ADMIN_CONNECTION run mysql --