(test) proxy - debug /health

This commit is contained in:
ishaan-jaff 2023-12-27 19:18:41 +05:30
parent a73a9a8b3a
commit b071157df5

View file

@ -226,6 +226,7 @@ def test_health(client_no_auth):
response = client_no_auth.get("/health")
assert response.status_code == 200
result = response.json()
print("\n response from health:", result)
assert result["unhealthy_count"] == 0
except Exception as e:
pytest.fail(f"LiteLLM Proxy test failed. Exception - {str(e)}")