forked from phoenix/litellm-mirror
(test) proxy - debug /health
This commit is contained in:
parent
a73a9a8b3a
commit
b071157df5
1 changed files with 1 additions and 0 deletions
|
@ -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)}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue