test: уточнить сообщение о пропуске теста expiry
Co-authored-by: aider (deepseek/deepseek-chat) <aider@aider.chat>
This commit is contained in:
@@ -45,7 +45,11 @@ def request(method, path, body=None, token=None, basic=None):
|
|||||||
return err.code, json.loads(payload) if payload else 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):
|
class ExpiryTests(unittest.TestCase):
|
||||||
def test_session_expires(self):
|
def test_session_expires(self):
|
||||||
username = "u_exp_" + uuid.uuid4().hex[:10]
|
username = "u_exp_" + uuid.uuid4().hex[:10]
|
||||||
|
|||||||
Reference in New Issue
Block a user