test: update test

This commit is contained in:
Krrish Dholakia 2025-04-14 22:17:47 -07:00
parent d7c214cac6
commit c208e66973

View file

@ -498,7 +498,7 @@ def test_completion_bedrock_invalid_role_exception():
== "litellm.BadRequestError: Invalid Message passed in {'role': 'very-bad-role', 'content': 'hello'}"
)
@pytest.mark.skip(reason="OpenAI exception changed to a generic error")
def test_content_policy_exceptionimage_generation_openai():
try:
# this is ony a test - we needed some way to invoke the exception :(