Skip to content

Commit 14c0a9c

Browse files
vccabralloic
authored andcommitted
Fixed unit test for auth login
1 parent 7099a57 commit 14c0a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_authentication.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def test_login_view_renders_on_get(self):
142142
cf. [#1810](https://github.com/tomchristie/django-rest-framework/pull/1810)
143143
"""
144144
response = self.csrf_client.get('/auth/login/')
145-
self.assertContains(response, '<label class="span4">Username:</label>')
145+
self.assertContains(response, '<label for="id_username">Username:</label>')
146146

147147
def test_post_form_session_auth_failing_csrf(self):
148148
"""

0 commit comments

Comments
 (0)