From a3ccba6d6ba0a65c8f612b51d92c4f56e92fcd38 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 20 Aug 2024 13:00:00 -0700 Subject: [PATCH] test router fallbacks test --- litellm/tests/test_router_fallbacks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/tests/test_router_fallbacks.py b/litellm/tests/test_router_fallbacks.py index 86e0cf62b9..f6b2090421 100644 --- a/litellm/tests/test_router_fallbacks.py +++ b/litellm/tests/test_router_fallbacks.py @@ -1231,3 +1231,4 @@ async def test_using_default_fallback(sync_mode): pytest.fail(f"Expected call to fail we passed model=openai/foo") except Exception as e: print("got exception = ", e) + assert "No healthy deployment available, passed model=very-bad-model" in str(e)