          auth = self.header_prefix + self.key
          response = self.csrf_client.post(
              self.path, {'example': 'example'}, HTTP_AUTHORIZATION=auth
          )
          self.assertEqual(response.status_code, status.HTTP_200_OK)
  
      def test_fail_post_form_passing_nonexistent_token_auth(self):
          # use a nonexistent token key
          auth = self.header_prefix + 'wxyz6789'
          response = self.csrf_client.post(
 
</s> remove         self.assertEqual(response.status_code, status.HTTP_200_OK)
 </s> add         assert response.status_code == status.HTTP_200_OK </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_401_UNAUTHORIZED)
 </s> add         assert response.status_code == status.HTTP_401_UNAUTHORIZED </s> remove         self.assertTrue(bool(token.key))
 </s> add         assert bool(token.key) </s> remove         self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)
 </s> add         assert response.status_code == status.HTTP_401_UNAUTHORIZED
        assert response.status_code == status.HTTP_200_OK
          auth = self.header_prefix + self.key
          response = self.csrf_client.post(
              self.path, {'example': 'example'}, HTTP_AUTHORIZATION=auth
          )
        assert response.status_code == status.HTTP_200_OK
  
      def test_fail_post_form_passing_nonexistent_token_auth(self):
          # use a nonexistent token key
          auth = self.header_prefix + 'wxyz6789'
          response = self.csrf_client.post(
keep keep keep keep replace keep keep keep keep keep
 converted authentication_test asserts to pytest 
tests/test_authentication.py