forked from mtusi2026/mtusi2026lab5
ЛР 5 — БВТ2302 — Лебедев — на 5
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user