add tests and docker infra

This commit is contained in:
ivankirpichnikov committed 2025-10-17 02:21:46 +03:00
1 parent 31d06fc0b4
commit 45d7926af1
24 files changed
+806 -24

No files matched your search

View File
Whitespace-only changes.
+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"]