mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
Fixed unit test for auth login
This commit is contained in:
parent
b90f4228b2
commit
0c0d65d232
|
@ -142,7 +142,7 @@ class SessionAuthTests(TestCase):
|
|||
cf. [#1810](https://github.com/tomchristie/django-rest-framework/pull/1810)
|
||||
"""
|
||||
response = self.csrf_client.get('/auth/login/')
|
||||
self.assertContains(response, '<label class="span4">Username:</label>')
|
||||
self.assertContains(response, '<label for="id_username">Username:</label>')
|
||||
|
||||
def test_post_form_session_auth_failing_csrf(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user