ЛР 5 — БВТ2302 — Лебедев — на 5

This commit is contained in:
2026-11-22 23:05:53 +03:00
parent 276dbdad8a
commit fbd04ce238
112 changed files with 9536 additions and 16 deletions
+8
View File
@@ -0,0 +1,8 @@
# 2026-11-21T15:24:13Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
$ python3 student-tests/test_expiry.py
## session expiry, SESSION_TTL_SECONDS=2 (http://127.0.0.1:8081)
PASS expires_at = now + SESSION_TTL_SECONDS 0.96s remaining 2.00s
PASS token valid before expiry, 401 Bearer after (cache warmed) 4.42s
PASS re-login after expiry issues a new valid session 4.43s
summary: 3 passed, 0 failed
exit=0