1
0
mirror of https://github.com/ijaric/voice_assistant.git synced 2025-05-24 14:33:26 +00:00

fix: [#8] int code to http

This commit is contained in:
ksieuk 2023-10-08 17:02:53 +03:00
parent 9143343556
commit 48b55a4035

View File

@ -1,3 +1,5 @@
import http
import httpx import httpx
import pytest import pytest
@ -6,4 +8,4 @@ pytestmark = [pytest.mark.asyncio]
async def test_health(app_http_client: httpx.AsyncClient) -> None: async def test_health(app_http_client: httpx.AsyncClient) -> None:
response = await app_http_client.get("/health/") response = await app_http_client.get("/health/")
assert response.status_code == 200 assert response.status_code == http.HTTPStatus.OK