Lab2 grade 4: PostgreSQL, Redis sessions, Compose, student tests and evidence.

This commit is contained in:
2026-10-30 12:37:18 +03:00
parent 65003b6119
commit 950ff93573
34 changed files with 2252 additions and 41 deletions
+11
View File
@@ -0,0 +1,11 @@
# Собственные проверки (lab2)
Требуется уже запущенный стенд (`compose up`).
```sh
# из корня репозитория, внутри контейнера python или локально:
cd student-tests
BASE_URL=http://127.0.0.1:8080 python run_all.py
```
Для проверки expiry поднимите API с `SESSION_TTL_SECONDS=2` и повторите `test_sessions`.