From 64221c9adb5ccf97301f8ae4944d558fc317fda4 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Tue, 20 Feb 2024 17:21:06 +0100 Subject: [PATCH] test increasing timeout in environment variable --- caimira/tests/apps/calculator/test_webapp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/caimira/tests/apps/calculator/test_webapp.py b/caimira/tests/apps/calculator/test_webapp.py index 32d22352..32811e56 100644 --- a/caimira/tests/apps/calculator/test_webapp.py +++ b/caimira/tests/apps/calculator/test_webapp.py @@ -1,4 +1,5 @@ from pathlib import Path +import os import pytest import tornado.testing @@ -7,7 +8,7 @@ import caimira.apps.calculator from caimira.apps.calculator.report_generator import generate_permalink -_TIMEOUT = 20. +_TIMEOUT = int(os.environ.get('TIMEOUT_S', '20')) # seconds @pytest.fixture