18 lines
406 B
Python
18 lines
406 B
Python
import pytest
|
|
from httpx import AsyncClient
|
|
|
|
pytestmark = [pytest.mark.unit, pytest.mark.asyncio]
|
|
|
|
|
|
async def test_readyz_reports_all_dependencies_not_ready_without_docker(
|
|
client: AsyncClient,
|
|
) -> None:
|
|
response = await client.get("/readyz")
|
|
|
|
assert response.status_code == 503
|
|
assert response.json() == {
|
|
"postgres": False,
|
|
"minio": False,
|
|
"qdrant": False,
|
|
}
|