We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7099a57 commit 14c0a9cCopy full SHA for 14c0a9c
tests/test_authentication.py
@@ -142,7 +142,7 @@ def test_login_view_renders_on_get(self):
142
cf. [#1810](https://github.com/tomchristie/django-rest-framework/pull/1810)
143
"""
144
response = self.csrf_client.get('/auth/login/')
145
- self.assertContains(response, '<label class="span4">Username:</label>')
+ self.assertContains(response, '<label for="id_username">Username:</label>')
146
147
def test_post_form_session_auth_failing_csrf(self):
148
0 commit comments