summaryrefslogtreecommitdiff
path: root/djangoproject/urls/tests/test_www.py
blob: 530c87fec661afc1d022a53a51edfc2fc1ab92b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from django.test import SimpleTestCase
from django.urls import reverse


class AboutRedirectTests(SimpleTestCase):
    def test_about_redirects_to_foundation(self):
        response = self.client.get("/about/")
        self.assertRedirects(
            response,
            reverse("members:developer-members"),
            status_code=301,
        )