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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy