From 5be1c5de36e4cb510f1b4e4a5145184dae0f20a9 Mon Sep 17 00:00:00 2001 From: Ilyas Gasanov <85805215+IlyasDevelopment@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:56:12 +0300 Subject: [PATCH] [DOP-21952] Extend auth token lifetime in the fixture (#173) --- tests/test_unit/test_auth/auth_fixtures/keycloak_fixture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_unit/test_auth/auth_fixtures/keycloak_fixture.py b/tests/test_unit/test_auth/auth_fixtures/keycloak_fixture.py index 63f4ff02..adc135de 100644 --- a/tests/test_unit/test_auth/auth_fixtures/keycloak_fixture.py +++ b/tests/test_unit/test_auth/auth_fixtures/keycloak_fixture.py @@ -46,7 +46,7 @@ def get_public_key_pem(public_key): @pytest.fixture def create_session_cookie(rsa_keys, settings): - def _create_session_cookie(user, expire_in_msec=1000) -> str: + def _create_session_cookie(user, expire_in_msec=5000) -> str: private_pem = rsa_keys["private_pem"] session_secret_key = settings.server.session.secret_key