You've already forked RekomenciBackend
feat: added e2e, unit tests and improved tests pipeline
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from http import HTTPStatus as status
|
||||
|
||||
from dishka import FromDishka
|
||||
from httpx import AsyncClient
|
||||
|
||||
@@ -11,4 +13,5 @@ async def test_healthcheck(
|
||||
response = await http_client.get("/healthcheck")
|
||||
response_json = response.json()
|
||||
|
||||
assert response.status_code == status.OK
|
||||
assert response_json["ok"]
|
||||
|
||||
Reference in New Issue
Block a user