diff options
| author | Ron Cohen | 2014-07-25 13:38:42 +0000 | 
|---|---|---|
| committer | Ron Cohen | 2014-07-25 13:38:42 +0000 | 
| commit | e3aff6a5678d48a2e328c9bb44b7c3de81caffd5 (patch) | |
| tree | 1c34f45e49da416bd694809b1f6e9c1e708fb047 /rest_framework/tests | |
| parent | 05882cc5999088ac232788ae62717c061e74ad12 (diff) | |
| download | django-rest-framework-e3aff6a5678d48a2e328c9bb44b7c3de81caffd5.tar.bz2 | |
Updated test docstring related to missing bearer token.
Diffstat (limited to 'rest_framework/tests')
| -rw-r--r-- | rest_framework/tests/test_authentication.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/test_authentication.py b/rest_framework/tests/test_authentication.py index cf8415ed..34bf2910 100644 --- a/rest_framework/tests/test_authentication.py +++ b/rest_framework/tests/test_authentication.py @@ -551,7 +551,7 @@ class OAuth2Tests(TestCase):      @unittest.skipUnless(oauth2_provider, 'django-oauth2-provider not installed')      def test_get_form_with_wrong_authorization_header_token_missing(self): -        """Ensure that a wrong token lead to the correct HTTP error status code""" +        """Ensure that a missing token lead to the correct HTTP error status code"""          auth = "Bearer"          response = self.csrf_client.get('/oauth2-test/', {}, HTTP_AUTHORIZATION=auth)          self.assertEqual(response.status_code, 401)  | 
