lab 3 done

This commit is contained in:
Khakimov Dmitrij
2026-10-20 20:46:51 +03:00
parent 0ab3a341aa
commit f9015df5d1
113 changed files with 6763 additions and 49 deletions
+9
View File
@@ -0,0 +1,9 @@
python3 tests/own/grade4.py
PASS: wrong password, unknown user, Bearer-only access, X-User-Id ignored, logout
PASS: 128-code-point Unicode password including colon; suffix verified
PASS: HTTP registration race: one 201, seven 409
PASS: redis outage bounded; live=200, ready=503, protected=503, anonymous=401; session recovered, logout retained
PASS: postgres outage bounded; live=200, ready=503, protected=503, anonymous=401; session recovered, logout retained
PASS: cursor and existing session survive API restart
PASS: SESSION_TTL_SECONDS=2 expires; Redis restart does not revive expired session
PASS: all grade-4 HTTP checks; normal TTL restored to 3600