from django.test import TestCase from django.urls import reverse class HealthcheckTests(TestCase): def test_healthcheck(self): """ Always return 200 OK with an empty body. """ response = self.client.get(reverse("health")) self.assertEqual(response.status_code, 200) self.assertEqual(response.content, b"")