forked from mtusi2026/mtusi2026lab7
7 — Т2302 — ебедев — на 5
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# 2026-11-22T19:20:17Z 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 (https://127.0.0.1:8444)
|
||||
PASS expires_at = now + SESSION_TTL_SECONDS 0.19s remaining 1.99s
|
||||
PASS token valid before expiry, 401 Bearer after (cache warmed) 3.66s
|
||||
PASS re-login after expiry issues a new valid session 3.20s
|
||||
summary: 3 passed, 0 failed
|
||||
exit=0
|
||||
Reference in New Issue
Block a user