mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-12-16 12:56:17 +00:00
fix: [#8] int code to http
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user