Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed unit test for auth login
  • Loading branch information
vccabral authored and loic committed Dec 8, 2014
commit 0c0d65d23294d6976a3d7f9d47eb4b67440e908e
2 changes: 1 addition & 1 deletion tests/test_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_login_view_renders_on_get(self):
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):
"""
Expand Down