mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 05:04:31 +03:00
Comform to flake8
This commit is contained in:
parent
1c9c5d5c32
commit
0e51dab8f4
|
@ -144,7 +144,6 @@ class SessionAuthTests(TestCase):
|
||||||
response = self.csrf_client.get('/auth/login/')
|
response = self.csrf_client.get('/auth/login/')
|
||||||
self.assertContains(response, '<Label class="span4">Username:</label>')
|
self.assertContains(response, '<Label class="span4">Username:</label>')
|
||||||
|
|
||||||
|
|
||||||
def test_post_form_session_auth_failing_csrf(self):
|
def test_post_form_session_auth_failing_csrf(self):
|
||||||
"""
|
"""
|
||||||
Ensure POSTing form over session authentication without CSRF token fails.
|
Ensure POSTing form over session authentication without CSRF token fails.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user