Files
RekomenciBackend/tests/web_api/e2e/test_healthcheck.py
T
2025-10-17 02:21:46 +03:00

15 lines
310 B
Python

from dishka import FromDishka
from httpx import AsyncClient
from tests.web_api.ioc import inject
@inject
async def test_healthcheck(
http_client: FromDishka[AsyncClient],
) -> None:
response = await http_client.get("/healthcheck")
response_json = response.json()
assert response_json["ok"]