forked from ScoDoc/ScoDoc
Ajout de timeouts manquants sur tests API
This commit is contained in:
parent
75ee45835a
commit
3f8b3f4d0d
@ -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",
|
# f"{API_URL}/absences/etudid/{ETUDID}/list_abs/{list_abs}/reset_etud_abs/only_just",
|
||||||
# headers=api_headers,
|
# headers=api_headers,
|
||||||
# verify=CHECK_CERTIFICATE,
|
# verify=CHECK_CERTIFICATE,
|
||||||
|
# timeout=scu.SCO_TEST_API_TIMEOUT,
|
||||||
# )
|
# )
|
||||||
# assert r.status_code == 200
|
# assert r.status_code == 200
|
||||||
|
@ -77,6 +77,7 @@ def test_evaluation_notes(
|
|||||||
f"{API_URL}/evaluation/{eval_id}/notes",
|
f"{API_URL}/evaluation/{eval_id}/notes",
|
||||||
headers=api_headers,
|
headers=api_headers,
|
||||||
verify=CHECK_CERTIFICATE,
|
verify=CHECK_CERTIFICATE,
|
||||||
|
timeout=scu.SCO_TEST_API_TIMEOUT,
|
||||||
)
|
)
|
||||||
assert r.status_code == 200
|
assert r.status_code == 200
|
||||||
eval_notes = r.json()
|
eval_notes = r.json()
|
||||||
|
Loading…
Reference in New Issue
Block a user