test router fallbacks test

This commit is contained in:
Ishaan Jaff 2024-08-20 13:00:00 -07:00
parent 518be32a98
commit c4153f9340

View file

@ -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)