aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/tests
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-10-17 09:54:06 +0200
committerGravatar GitHub <[email protected]>2020-10-17 09:54:06 +0200
commit6992491f8c5f074e17c34d09553a715425112652 (patch)
tree490d635512bea24ab8bb0d001cf3da37fb917187 /pydis_site/apps/home/tests
parentMerge pull request #411 from ks129/voice-gate (diff)
parentUpdate font sizing (diff)
Merge pull request #381 from python-discord/feat/timeline
100k milestone timeline page
Diffstat (limited to 'pydis_site/apps/home/tests')
-rw-r--r--pydis_site/apps/home/tests/test_views.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pydis_site/apps/home/tests/test_views.py b/pydis_site/apps/home/tests/test_views.py
index 572317a7..40c80205 100644
--- a/pydis_site/apps/home/tests/test_views.py
+++ b/pydis_site/apps/home/tests/test_views.py
@@ -203,6 +203,14 @@ class TestIndexReturns200(TestCase):
self.assertEqual(resp.status_code, 200)
+class TestTimelineReturns200(TestCase):
+ def test_timeline_returns_200(self):
+ """Check that the timeline page returns a HTTP 200 response."""
+ url = reverse('timeline')
+ resp = self.client.get(url)
+ self.assertEqual(resp.status_code, 200)
+
+
class TestLoginCancelledReturns302(TestCase):
def test_login_cancelled_returns_302(self):
"""Check that the login cancelled redirect returns a HTTP 302 response."""