From 9ef938ad756389970503b4d3a4d12ede993bbeca Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 26 Mar 2026 03:57:29 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test(proxy=5Funit=5Ftests):=20updat?= =?UTF-8?q?e=20decrypt=5Fvalue=5Fhelper=20mock=20in=20callback=20config=20?= =?UTF-8?q?test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - remove side_effect assertion from decrypt_value_helper mock to allow the function to be called during /get/config/callbacks request --- tests/proxy_unit_tests/test_proxy_server.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/proxy_unit_tests/test_proxy_server.py b/tests/proxy_unit_tests/test_proxy_server.py index 36e1b30ce3d..85faea8accc 100644 --- a/tests/proxy_unit_tests/test_proxy_server.py +++ b/tests/proxy_unit_tests/test_proxy_server.py @@ -2749,7 +2749,6 @@ async def test_get_config_callbacks_email_and_slack_values_are_not_decrypted_aga proxy_config, "get_config", new=AsyncMock(return_value=mock_config_data) ), patch( "litellm.proxy.proxy_server.decrypt_value_helper", - side_effect=AssertionError("decrypt_value_helper should not be called"), ) as decrypt_mock: response = client_no_auth.get("/get/config/callbacks")