mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
✅ 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:
parent
b8e367db1d
commit
9ef938ad75
1 changed files with 0 additions and 1 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue