Fix test for unit test requests

This commit is contained in:
Vivianne Langdon 2022-03-02 03:42:29 -08:00
parent 05f11e68c5
commit 81594892ef

View file

@ -211,7 +211,7 @@ def maybe_redirect_local_path(request, model):
"""
# don't redirect empty path for unit tests which currently have this
if request.path == "" or request.path == model.local_path:
if request.path == "/" or request.path == model.local_path:
return False
new_path = model.local_path