aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/events/tests
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/apps/events/tests')
-rw-r--r--pydis_site/apps/events/tests/test_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/events/tests/test_views.py b/pydis_site/apps/events/tests/test_views.py
index 81f67c08..9561255f 100644
--- a/pydis_site/apps/events/tests/test_views.py
+++ b/pydis_site/apps/events/tests/test_views.py
@@ -12,7 +12,7 @@ PAGES_PATH = Path(settings.BASE_DIR, "pydis_site", "apps", "events", "tests", "t
class IndexTests(TestCase):
def test_events_index_response_200(self):
"""Should return response code 200 when visiting index of events."""
- url = reverse("events:events")
+ url = reverse("events:index")
resp = self.client.get(url)
self.assertEqual(resp.status_code, 200)