mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
15 lines
443 B
Python
15 lines
443 B
Python
from django.test import override_settings
|
|
from django.urls import reverse
|
|
|
|
from sentry.testutils.cases import TestCase
|
|
from sentry.testutils.silo import all_silo_test
|
|
|
|
|
|
@all_silo_test
|
|
@override_settings(ROOT_URLCONF="sentry.conf.urls")
|
|
class Error404Test(TestCase):
|
|
def test_renders(self):
|
|
resp = self.client.get(reverse("error-404"))
|
|
assert resp.status_code == 404
|
|
self.assertTemplateUsed(resp, "sentry/404.html")
|