Ajout de timeouts manquants sur tests API

This commit is contained in:
Emmanuel Viennet 2023-04-06 11:48:36 +02:00
parent 75ee45835a
commit 3f8b3f4d0d
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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()