We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b90f422 commit 0c0d65dCopy full SHA for 0c0d65d
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