mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
updating css class name in authentication test test_login_view_renders_on_get
This commit is contained in:
parent
88cab1742f
commit
c9045c5ff2
|
@ -142,7 +142,7 @@ class SessionAuthTests(TestCase):
|
|||
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 class="col-md-4">Username:</label>')
|
||||
|
||||
def test_post_form_session_auth_failing_csrf(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user