From 62e83ce75a879368d4e9f06a4e3e9ee5e2997cdc Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 9 Nov 2023 17:43:07 -0800 Subject: [PATCH] test(test_completion.py): fix test case --- litellm/tests/test_completion.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index da4f3403b4..bca65e7090 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -440,10 +440,12 @@ def test_completion_openai_litellm_key(): ##### unset litellm var litellm.api_key = None + except Timeout as e: + pass except Exception as e: pytest.fail(f"Error occurred: {e}") -# test_completion_openai_litellm_key() +test_completion_openai_litellm_key() def test_completion_openrouter1(): try: