Skip to content

Commit 078b971

Browse files
committed
Address feedback, remove openrose service health check
1 parent 114a8a0 commit 078b971

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

kobo/apps/openrosa/apps/main/tests/test_service_health_minimal.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

kobo/apps/service_health/test_service_health_minimal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33

44
class ServiceHealthMinimalTestCase(TestCase):
5-
url = '/service_health/minimal/'
5+
url = '/service_health/minimal/' # Path checked in middleware, can't use reverse
66

77
@override_settings(ALLOWED_HOSTS=['nope'])
88
def test_service_health_minimal(self):
99
"""
1010
Test for endpoint which makes no connections to databases or other external
11-
services, ingores ALLOWED_HOSTS, and is helpful for HTTP health checks.
11+
services, ignores ALLOWED_HOSTS, and is helpful for HTTP health checks.
1212
"""
1313
with self.assertNumQueries(0):
1414
res = self.client.get(self.url)

0 commit comments

Comments
 (0)