From c9d123b5f76f57e6f499ccad01abccc7b0a6d09a Mon Sep 17 00:00:00 2001 From: eastandwestwind Date: Mon, 25 Nov 2024 17:31:54 +0100 Subject: [PATCH] adds new lib to set global pytest timeout --- dev-requirements.txt | 1 + setup.cfg | 3 +++ 2 files changed, 4 insertions(+) diff --git a/dev-requirements.txt b/dev-requirements.txt index 149cdcd658..c525f300de 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -12,6 +12,7 @@ pytest-cov==4.0.0 pytest-env==0.6.2 pytest-mock==3.14.0 pytest-rerunfailures==14.0 +pytest-timeout==2.3.1 pytest==7.2.2 requests-mock==1.10.0 setuptools>=64.0.2 diff --git a/setup.cfg b/setup.cfg index 74dfae9ec1..1ef776f940 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,3 +9,6 @@ parentdir_prefix = [bdist_wheel] universal = True + +[pytest] +timeout = 300 \ No newline at end of file