From 4473c48e2bd9f3a106f9c3665cc5afe0ea7a9f89 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Fri, 2 Feb 2024 12:32:10 -0800 Subject: [PATCH] (fix) test exception mapping --- litellm/tests/test_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/tests/test_exceptions.py b/litellm/tests/test_exceptions.py index 16a3a9f4713..1800cbc5ee7 100644 --- a/litellm/tests/test_exceptions.py +++ b/litellm/tests/test_exceptions.py @@ -455,7 +455,7 @@ def test_completion_perplexity_exception_on_openai_client(): # delete perplexityai api key to simulate bad api key del os.environ["PERPLEXITYAI_API_KEY"] - # del os.environ["OPENAI_API_KEY"] + del os.environ["OPENAI_API_KEY"] response = completion( model="perplexity/mistral-7b-instruct", messages=[{"role": "user", "content": "hello"}],