Fixed unit test for auth login

This commit is contained in:
Victor Cabral 2014-12-07 15:05:17 -05:00 committed by Loic Bistuer
parent b90f4228b2
commit 0c0d65d232

View File

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