From 38d0771eed7185fad90977a264a5dcc16aa2bb07 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 28 May 2020 12:50:05 +0100 Subject: comment on 301 response code --- ctrack/users/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctrack/users/tests') diff --git a/ctrack/users/tests/test_views.py b/ctrack/users/tests/test_views.py index cf6b05a..fdd5633 100644 --- a/ctrack/users/tests/test_views.py +++ b/ctrack/users/tests/test_views.py @@ -162,4 +162,4 @@ def test_regular_user_gets_301_when_trying_to_access_view_with_perm_set( response = client.get(path="https://localhost:8000/organisations") assert ( response.status_code == 301 - ) # at this point, I don't know why it's a 301 not a 403 + ) # This page redirects to 403.html, hence why its a 301 (I think) -- cgit v1.2.3