mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix test_team_disable_guardrails
This commit is contained in:
parent
7db85fbdb7
commit
bcc4adff46
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ async def test_team_disable_guardrails(mock_acompletion, client_no_auth):
|
||||||
await user_api_key_auth(request=request, api_key="Bearer " + user_key)
|
await user_api_key_auth(request=request, api_key="Bearer " + user_key)
|
||||||
pytest.fail("Expected to raise 403 forbidden error.")
|
pytest.fail("Expected to raise 403 forbidden error.")
|
||||||
except ProxyException as e:
|
except ProxyException as e:
|
||||||
assert e.code == 403
|
assert e.code == "403"
|
||||||
|
|
||||||
|
|
||||||
from litellm.tests.test_custom_callback_input import CompletionCustomHandler
|
from litellm.tests.test_custom_callback_input import CompletionCustomHandler
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue