rafalp 5 лет назад
Родитель
Сommit
bbe86f3718
1 измененных файлов с 6 добавлено и 0 удалено
  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