diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-28 12:50:05 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-28 12:50:05 +0100 |
commit | 38d0771eed7185fad90977a264a5dcc16aa2bb07 (patch) | |
tree | 9a70e1eb12ea86fb4194c064b33314021eda03b0 /ctrack/users/tests/test_views.py | |
parent | 266501b92967bb00e856312921533bb30d76cefc (diff) |
comment on 301 response code
Diffstat (limited to 'ctrack/users/tests/test_views.py')
-rw-r--r-- | ctrack/users/tests/test_views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |