mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
Resolve new flake8 error
This commit is contained in:
parent
81642420c4
commit
09790ee8fb
|
@ -69,7 +69,7 @@ class TestUserDetailView:
|
||||||
response = user_detail_view(request, username=user.username)
|
response = user_detail_view(request, username=user.username)
|
||||||
|
|
||||||
assert response.status_code == 302
|
assert response.status_code == 302
|
||||||
assert response.url == f"/accounts/login/?next=/fake-url/"
|
assert response.url == "/accounts/login/?next=/fake-url/"
|
||||||
|
|
||||||
def test_case_sensitivity(self, rf: RequestFactory):
|
def test_case_sensitivity(self, rf: RequestFactory):
|
||||||
request = rf.get("/fake-url/")
|
request = rf.get("/fake-url/")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user