зеркало из https://github.com/mozilla/kitsune.git
Merge pull request #6213 from akatsoulas/cleanup-win7
Remove obsolete code for win7
This commit is contained in:
Коммит
28fa75b78b
|
@ -1,10 +0,0 @@
|
|||
from kitsune.sumo.tests import TestCase
|
||||
|
||||
|
||||
class TestVanityURLs(TestCase):
|
||||
"""We're just asserting that these vanity URLs go somewhere."""
|
||||
|
||||
def test_windows7(self):
|
||||
response = self.client.get("/en-US/windows7-support", follow=False)
|
||||
self.assertEqual(302, response.status_code)
|
||||
assert "home" in response["location"]
|
|
@ -48,7 +48,6 @@ urlpatterns = i18n_patterns(
|
|||
path("", include("kitsune.tidings.urls")),
|
||||
path("", include("kitsune.users.urls")),
|
||||
path("locales", sumo_views.locales, name="sumo.locales"),
|
||||
re_path(r"^windows7-support(?:\\/)?$", RedirectView.as_view(url="/home/?as=u")),
|
||||
re_path(
|
||||
rf"wagtail/{serve_pattern.lstrip('^')}",
|
||||
waffle_flag("wagtail_experiments")(wagtail_serve),
|
||||
|
|
Загрузка…
Ссылка в новой задаче