aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_authentication.py
diff options
context:
space:
mode:
authorTom Christie2014-12-08 09:07:57 +0000
committerTom Christie2014-12-08 09:07:57 +0000
commitb440bd74be12f8676024ce0771c960ea37a4568b (patch)
tree436abe4085db9b7de3658e6437bc6cc436ee8343 /tests/test_authentication.py
parent9879a5dcdc2e99dc2ebd23cd093a3e7ccec318fd (diff)
parent0c0d65d23294d6976a3d7f9d47eb4b67440e908e (diff)
downloaddjango-rest-framework-b440bd74be12f8676024ce0771c960ea37a4568b.tar.bz2
Merge pull request #2187 from loic/cosmetic_fixes
Cosmetic fixes in the API browser HTML.
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 28c3a8b3..44837c4e 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 for="id_username">Username:</label>')
def test_post_form_session_auth_failing_csrf(self):
"""