From 6773341a08198cb6fc338d060e9c565428bc0829 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Sat, 6 Apr 2024 19:33:01 -0700 Subject: [PATCH] test(test_alerting.py): remove duplicate test --- litellm/tests/test_alerting.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/litellm/tests/test_alerting.py b/litellm/tests/test_alerting.py index 225982bf365..6cb0e29edc4 100644 --- a/litellm/tests/test_alerting.py +++ b/litellm/tests/test_alerting.py @@ -65,22 +65,3 @@ async def test_get_api_base(): message=slow_message + request_info, level="Low", ) - - -@pytest.mark.asyncio -async def test_request_taking_too_long(): - """ - - attach request_taking_too_long as a success callback to litellm - - unit test kwargs for azure call vs. vertex ai call -> ensure api base constructed correctly for both - """ - import time - - _pl = ProxyLogging(user_api_key_cache=DualCache()) - litellm.success_callback = [_pl.response_taking_too_long_callback] - - response = await litellm.acompletion( - model="azure/chatgpt-v-2", - messages=[{"role": "user", "content": "Hey, how's it going?"}], - ) - - raise Exception("it worked!")