forked from mtusi2026/mtusi2026lab2
9 lines
340 B
Plaintext
9 lines
340 B
Plaintext
# 2026-10-15T10:02Z, второй экземпляр API с SESSION_TTL_SECONDS=2 (в compose: api-ttl на 8081)
|
||
$ python student-tests/expiry.py
|
||
ok - login -> 201
|
||
ok - expires_at is about 2s ahead (got 2.00s)
|
||
ok - token works before expiry
|
||
ok - expired token -> 401 (cache does not extend the session)
|
||
|
||
4 passed, 0 failed
|