mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Fix shoddy test case
This commit is contained in:
parent
ecc26f6cb1
commit
9c58dfec4e
|
@ -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="span4">Username:</label>')
|
||||
|
||||
def test_post_form_session_auth_failing_csrf(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user