diff --git a/litellm/tests/test_sentry.py b/litellm/tests/test_sentry.py index b85336e01..be53a9ca4 100644 --- a/litellm/tests/test_sentry.py +++ b/litellm/tests/test_sentry.py @@ -30,6 +30,7 @@ def test_exception_tracking(): except Exception as e: print("got_exception") print(e) + os.environ["OPENAI_API_KEY"] = old_api_key test_exception_tracking()