✅ test(proxy_unit_tests): update decrypt_value_helper mock in callback config test

- remove side_effect assertion from decrypt_value_helper mock to allow
  the function to be called during /get/config/callbacks request
This commit is contained in:
yangdx 2026-03-26 03:57:29 +08:00
parent b8e367db1d
commit 9ef938ad75

View file

@ -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")