add tests and docker infra

This commit is contained in:
ivankirpichnikov
2025-10-17 02:21:46 +03:00
parent 31d06fc0b4
commit 45d7926af1
24 changed files with 806 additions and 24 deletions
View File
+14
View File
@@ -0,0 +1,14 @@
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"]