From 3f8b3f4d0d4086ddf0ef1f71e1cf2c0bf488a3ac Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 6 Apr 2023 11:48:36 +0200 Subject: [PATCH] Ajout de timeouts manquants sur tests API --- tests/api/test_api_absences.py | 1 + tests/api/test_api_evaluations.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/api/test_api_absences.py b/tests/api/test_api_absences.py index da27f8aaba..41107aa107 100644 --- a/tests/api/test_api_absences.py +++ b/tests/api/test_api_absences.py @@ -209,5 +209,6 @@ def test_abs_groupe_etat(api_headers): # f"{API_URL}/absences/etudid/{ETUDID}/list_abs/{list_abs}/reset_etud_abs/only_just", # headers=api_headers, # verify=CHECK_CERTIFICATE, +# timeout=scu.SCO_TEST_API_TIMEOUT, # ) # assert r.status_code == 200 diff --git a/tests/api/test_api_evaluations.py b/tests/api/test_api_evaluations.py index c1324b0648..4a3064746c 100644 --- a/tests/api/test_api_evaluations.py +++ b/tests/api/test_api_evaluations.py @@ -77,6 +77,7 @@ def test_evaluation_notes( f"{API_URL}/evaluation/{eval_id}/notes", headers=api_headers, verify=CHECK_CERTIFICATE, + timeout=scu.SCO_TEST_API_TIMEOUT, ) assert r.status_code == 200 eval_notes = r.json()