Browse Source

Add test for healthcheck

rafalp 5 years ago
parent
commit
bbe86f3718
1 changed files with 6 additions and 0 deletions
  1. 6 0
      misago/healthcheck/tests.py

+ 6 - 0
misago/healthcheck/tests.py

@@ -0,0 +1,6 @@
+from django.urls import reverse
+
+
+def test_healtcheck_returns_200_response(db, client):
+    response = client.get(reverse("misago:healthcheck"))
+    assert response.status_code == 200