From 86f9bb0af6aff08bcf00594cdeab00830126241c Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 9 Nov 2023 19:05:34 -0800 Subject: [PATCH] test(test_completion.py): fix openai testing --- litellm/tests/test_completion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index c397f6581b3..9d116b7acc6 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -385,6 +385,8 @@ def test_completion_openai(): assert len(response_str) > 1 litellm.api_key = None + except Timeout as e: + pass except Exception as e: pytest.fail(f"Error occurred: {e}") # test_completion_openai()