From fdaa33a6f60c60306815515ca5f42dc55c1c20e2 Mon Sep 17 00:00:00 2001 From: bretello Date: Tue, 30 Apr 2024 15:33:35 +0200 Subject: [PATCH] tox: add pytest-timeout --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index bbcbcd4..6c8b629 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py{38,39,310,311,312,py3}, flake8 [testenv] deps = pytest + pytest-timeout pexpect coverage: coverage commands = @@ -15,7 +16,7 @@ passenv = PYTEST_ADDOPTS TERM setenv = - coverage: _PYREPL_TOX_RUN_CMD=coverage run -m pytest + coverage: _PYREPL_TOX_RUN_CMD=coverage run -m pytest --timeout=10 [testenv:qa] deps =