From f6126bb90fdb8bc8be1d2a8ee2ac1595d61a7047 Mon Sep 17 00:00:00 2001 From: Jon Bringhurst Date: Sun, 29 Jan 2023 12:55:32 -0800 Subject: [PATCH] chore: add a one hour timeout to all tests and enable color output --- pyproject.toml | 4 +++- tox.ini | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0ec882e7..24fad544 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,4 +20,6 @@ extend-exclude = ''' ''' [tool.pytest.ini_options] -addopts = "-ra -v" +addopts = "-ra -v --color=yes" +# Per-test timeout in seconds +timeout = 3600 diff --git a/tox.ini b/tox.ini index 5ecc4038..e7018e08 100644 --- a/tox.ini +++ b/tox.ini @@ -28,6 +28,7 @@ extras = eventlet: eventlet sasl: sasl deps = + pytest-timeout sasl: kerberos codecov: codecov allowlist_externals =