diff options
| author | Victor Cabral | 2014-12-07 15:05:17 -0500 |
|---|---|---|
| committer | Loic Bistuer | 2014-12-08 09:06:52 +0700 |
| commit | 0c0d65d23294d6976a3d7f9d47eb4b67440e908e (patch) | |
| tree | 436abe4085db9b7de3658e6437bc6cc436ee8343 /tests/test_authentication.py | |
| parent | b90f4228b274abc3010b159d6abe7b2381067253 (diff) | |
| download | django-rest-framework-0c0d65d23294d6976a3d7f9d47eb4b67440e908e.tar.bz2 | |
Fixed unit test for auth login
Diffstat (limited to 'tests/test_authentication.py')
| -rw-r--r-- | tests/test_authentication.py | 2 |
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): """ |
