Resolve new flake8 error

This commit is contained in:
Bruno Alla 2020-05-12 10:18:15 +01:00
parent 81642420c4
commit 09790ee8fb

View File

@ -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/")