mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-12-16 00:26:16 +00:00
fix: [#8] int code to http
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import http
|
||||
|
||||
import httpx
|
||||
import pytest
|
||||
|
||||
@@ -6,4 +8,4 @@ pytestmark = [pytest.mark.asyncio]
|
||||
|
||||
async def test_health(app_http_client: httpx.AsyncClient) -> None:
|
||||
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