          response = self.csrf_client.post(
              self.path, {'example': 'example'},
              format='json', HTTP_AUTHORIZATION=auth
          )
          self.assertEqual(response.status_code, status.HTTP_200_OK)
  
      def test_post_json_makes_one_db_query(self):
          """
          Ensure that authenticating a user using a
          token performs only one DB query
 
</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.assertTrue(isinstance(key, six.string_types))
 </s> add         assert isinstance(key, six.string_types)
        assert response.status_code == status.HTTP_200_OK
          response = self.csrf_client.post(
              self.path, {'example': 'example'},
              format='json', HTTP_AUTHORIZATION=auth
          )
        assert response.status_code == status.HTTP_200_OK
  
      def test_post_json_makes_one_db_query(self):
          """
          Ensure that authenticating a user using a
          token performs only one DB query
keep keep keep keep replace keep keep keep keep keep
 converted authentication_test asserts to pytest 
tests/test_authentication.py