diff options
author | 2020-10-28 20:21:30 +0200 | |
---|---|---|
committer | 2020-10-28 20:21:30 +0200 | |
commit | 7642d2137de0a0c230c89f33005509f349ad23b4 (patch) | |
tree | edd5e4c729704efb0f59031066323c354131ecda /pydis_site/apps/events/tests | |
parent | Merge branch 'dewikification' into events-app (diff) |
Rename events index page from events -> index
Diffstat (limited to 'pydis_site/apps/events/tests')
-rw-r--r-- | pydis_site/apps/events/tests/test_views.py | 2 |
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) |