          Ensure POSTing form over session authentication with logged in user and CSRF token passes.
          """
          self.non_csrf_client.login(username=self.username, password=self.password)
          response = self.non_csrf_client.post('/session/', {'example': 'example'})
          self.assertEqual(response.status_code, 200)
  
      def test_put_form_session_auth_passing(self):
          """
          Ensure PUTting form over session authentication with logged in user and CSRF token passes.
          """
 
</s> remove         self.assertEqual(response.status_code, 200)
 </s> add         self.assertEqual(response.status_code, status.HTTP_200_OK) </s> remove         self.assertEqual(response.status_code, 403)
 </s> add         self.assertEqual(response.status_code, status.HTTP_403_FORBIDDEN) </s> remove         self.assertEqual(response.status_code, 403)
 </s> add         self.assertEqual(response.status_code, status.HTTP_403_FORBIDDEN) </s> remove         self.assertEqual(response.status_code, 200)
 </s> add         self.assertEqual(response.status_code, status.HTTP_200_OK) </s> remove         self.assertEqual(response.status_code, 200)
 </s> add         self.assertEqual(response.status_code, status.HTTP_200_OK)
        self.assertEqual(response.status_code, status.HTTP_200_OK)
          Ensure POSTing form over session authentication with logged in user and CSRF token passes.
          """
          self.non_csrf_client.login(username=self.username, password=self.password)
          response = self.non_csrf_client.post('/session/', {'example': 'example'})
        self.assertEqual(response.status_code, status.HTTP_200_OK)
  
      def test_put_form_session_auth_passing(self):
          """
          Ensure PUTting form over session authentication with logged in user and CSRF token passes.
          """
keep keep keep keep replace keep keep keep keep keep
 Replaced status numbers with the statuses constants from the status model. 
rest_framework/tests/authentication.py