ЛР 2 — БВТ2301 — Бушков — на 4 #101

Closed
zhebush wants to merge 12 commits from zhebush/mtusi2026lab2:solution/bvt2301-bushkov into master
Showing only changes of commit f427565e27 - Show all commits
+5 -1
View File
@@ -45,7 +45,11 @@ def request(method, path, body=None, token=None, basic=None):
return err.code, json.loads(payload) if payload else None
@unittest.skipIf(TTL > 10, "SESSION_TTL_SECONDS > 10; запустите стенд с коротким TTL")
@unittest.skipIf(
TTL > 10,
"SESSION_TTL_SECONDS > 10; запустите стенд с коротким TTL и передайте "
"SESSION_TTL_SECONDS=2 make test-expiry",
)
class ExpiryTests(unittest.TestCase):
def test_session_expires(self):
username = "u_exp_" + uuid.uuid4().hex[:10]