diff options
author | 2021-05-14 00:43:57 +0800 | |
---|---|---|
committer | 2021-05-14 00:43:57 +0800 | |
commit | 6ad01844102791efec52086338020679370edd08 (patch) | |
tree | 975644cd1842760c7dfeb524b8237611f34f24e7 /pydis_site | |
parent | Add privacy policy information and link. (diff) |
Make tests expect 302.
It's what we're using now for dewikification redirects, this has to be
changed back to 301 when we decide to make redirects permanent.
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/apps/redirect/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/redirect/tests.py b/pydis_site/apps/redirect/tests.py index 8c7b3db8..c145ecda 100644 --- a/pydis_site/apps/redirect/tests.py +++ b/pydis_site/apps/redirect/tests.py @@ -53,6 +53,6 @@ class RedirectTests(TestCase): f"home:{data['redirect_route']}", args=expected_args ), - status_code=301 + status_code=302 ) self.assertEqual(resp.status_code, 200) |