From cbcb7fd715be0f1efb98102302739e9d9f3ca08c Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 5 Aug 2024 15:59:16 +0200 Subject: [PATCH] Pass WEBSOCKETS_TESTS_TIMEOUT_FACTOR to tox. Previously, despite being declared in .github/workflows/tests.yml, it had no effect because tox insulates test runs from the environment. --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 06003c85..b00833e7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = +env_list = py38 py39 py310 @@ -12,6 +12,7 @@ envlist = [testenv] commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning -m unittest {posargs} +pass_env = WEBSOCKETS_* [testenv:coverage] commands =