          """
          request = factory.get('/')
          response = self.view(request)
          content = response.render().content
          self.assertEqual(content, b'not authenticated')
  
  
  class NoAuthenticationClassesTests(TestCase):
      def test_permission_message_with_no_authentication_classes(self):
          """
 
</s> remove         self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)
 </s> add         assert response.status_code == status.HTTP_401_UNAUTHORIZED </s> remove         self.assertEqual(response.status_code, status.HTTP_403_FORBIDDEN)
 </s> add         assert response.status_code == status.HTTP_403_FORBIDDEN </s> remove         response = client.post('/auth-token/',
                               {'username': self.username, 'password': self.password})
        self.assertEqual(response.status_code, status.HTTP_200_OK)
        self.assertEqual(response.data['token'], self.key)
 </s> add         response = client.post(
            '/auth-token/',
            {'username': self.username, 'password': self.password}
        )
        assert response.status_code == status.HTTP_200_OK
        assert response.data['token'] == self.key </s> remove         self.assertEqual(response.status_code, status.HTTP_403_FORBIDDEN)
        self.assertEqual(response.data, {'detail': 'Bad credentials'})
 </s> add         assert response.status_code == status.HTTP_403_FORBIDDEN
        assert response.data == {'detail': 'Bad credentials'} </s> remove         self.assertTrue(isinstance(key, six.string_types))
 </s> add         assert isinstance(key, six.string_types)
        assert content == b'not authenticated'
          """
          request = factory.get('/')
          response = self.view(request)
          content = response.render().content
        assert content == b'not authenticated'
  
  
  class NoAuthenticationClassesTests(TestCase):
      def test_permission_message_with_no_authentication_classes(self):
          """
keep keep keep keep replace keep keep keep keep keep
 converted authentication_test asserts to pytest 
tests/test_authentication.py