aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_authentication.py
diff options
context:
space:
mode:
authorTom Christie2014-11-25 10:34:21 +0000
committerTom Christie2014-11-25 10:34:21 +0000
commit9c58dfec4e6865a5296d0913be907a20f712f0d3 (patch)
tree130a35851a2e6c134662c96807c81896cdbd1e21 /tests/test_authentication.py
parentecc26f6cb1e8b1f1a4cd72cf980b750aeed65cf7 (diff)
downloaddjango-rest-framework-9c58dfec4e6865a5296d0913be907a20f712f0d3.tar.bz2
Fix shoddy test case
Diffstat (limited to 'tests/test_authentication.py')
-rw-r--r--tests/test_authentication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_authentication.py b/tests/test_authentication.py
index 32041f9c..28c3a8b3 100644
--- a/tests/test_authentication.py
+++ b/tests/test_authentication.py
@@ -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):
"""