phase1: bootstrap containerized django stack and project scaffold
This commit is contained in:
9
tests/test_health.py
Normal file
9
tests/test_health.py
Normal file
@ -0,0 +1,9 @@
|
||||
import pytest
|
||||
from django.urls import reverse
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_health_endpoint(client):
|
||||
response = client.get(reverse("health"))
|
||||
assert response.status_code == 200
|
||||
assert response.json()["status"] == "ok"
|
||||
Reference in New Issue
Block a user