Skip to content

Commit

Permalink
Drop failing redirect test -- the relevant code will be woodchippered…
Browse files Browse the repository at this point in the history
… soon anyway
  • Loading branch information
stevejalim committed Jan 21, 2025
1 parent c5d8c27 commit 0893927
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bedrock/mozorg/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ def test_missing_doc_is_404(self):
class TestMozorgRedirects(TestCase):
"""Test redirects that are in bedrock.mozorg.nonlocale_urls"""

def test_projects_calendar_redirect(self):
resp = self.client.get("/projects/calendar/", follow=True)
# Note that we now 301 straight to the lang-prefixed version of the destination of the redirect
self.assertEqual(resp.redirect_chain[0], ("https://www.thunderbird.net/calendar/", 301))

def test_paris_office_redirect(self):
resp = self.client.get("/contact/spaces/paris/", follow=True, headers={"accept-language": "en"})
# Note that we now 301 straight to the lang-prefixed version of the destination of the redirect
Expand Down

0 comments on commit 0893927

Please sign in to comment.