From a2b4728e749ada2c0d315fff03602ae69525cfd0 Mon Sep 17 00:00:00 2001 From: Harshit Jain <48647625+Harshit28j@users.noreply.github.com> Date: Fri, 13 Feb 2026 04:40:29 +0530 Subject: [PATCH] Update tests/test_litellm/proxy/management_endpoints/test_ui_sso.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- tests/test_litellm/proxy/management_endpoints/test_ui_sso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py b/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py index 44aa04c0ad6..d519ce43eee 100644 --- a/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py +++ b/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py @@ -3205,7 +3205,7 @@ class TestPKCEFunctionality: stored_key = "pkce_verifier:multi_pod_state_xyz" assert stored_key in mock_redis._store stored_value = mock_redis._store[stored_key] - assert json.loads(stored_value) # valid verifier string + assert isinstance(stored_value, str) and len(stored_value) == 43 # Pod B: callback with same state, retrieve from "Redis" mock_request = MagicMock(spec=Request)