Skip to content

Commit

Permalink
Fixed unit test for auth login
Browse files Browse the repository at this point in the history
  • Loading branch information
vccabral authored and loic committed Dec 8, 2014
1 parent b90f422 commit 0c0d65d
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 0c0d65d

Please sign in to comment.