def test_update_image_pointer_field(self):
        """Test that we can update the image_pointer_field in a document.

        Note: We can only update an image pointer field when it is not a tensor field."""
        original_doc = {
            "image_pointer_field": TestImageUrls.IMAGE1.value,
            "text_field_tensor": "search me",
            "_id": "1"
        }
        self.add_documents(config=self.config, add_docs_params=AddDocsParams(
            index_name=self.structured_index_name,
            docs=[original_doc]
        ))
        self.assertEqual(1, self.monitoring.get_index_stats_by_name(self.structured_index_name).number_of_documents)

        updated_doc = {
            "image_pointer_field": TestImageUrls.IMAGE2.value,
            "_id": "1"
        }
        r = update_documents(body_dict={"documents": [updated_doc]},
                             index_name=self.structured_index_name, marqo_config=self.config)
        updated_doc = tensor_search.get_document_by_id(self.config, self.structured_index_name, updated_doc["_id"])

        self.assertEqual(TestImageUrls.IMAGE2.value,
                         updated_doc["image_pointer_field"])
Test that we can update the image_pointer_field in a document.

        Note: We can only update an image pointer field when it is not a tensor field.
tests/integ_tests/core/document/test_partial_document_update.py