def test_partial_update_should_update_long_string(self):
        """Test that partial updates to long strings are successful."""
        test_docs = [self.doc2, self.doc3]

        for doc in test_docs:
            with self.subTest(f"Updating long string for document with ID {doc['_id']}"):
                id = doc['_id']
                index = self.config.index_management.get_index(self.index.name)
                res = self.config.document.partial_update_documents(
                    [{'_id': id, 'long_string_field': 'updated_long_string' * 10}], index)
                self.assertFalse(res.errors, f"Expected no errors when updating document {id}")

                doc = tensor_search.get_document_by_id(self.config, self.index.name, id)
                self.assertEqual('updated_long_string' * 10, doc['long_string_field'],
                                 f"Expected long_string_field to be updated for document {id}")
                self._assert_fields_unchanged(doc, ['long_string_field'])

                # Verify field type
                self._assert_field_types(id, [
                    ('long_string_field', MarqoFieldTypes.STRING)
                ])
Test that partial updates to long strings are successful.
tests/integ_tests/core/document/test_partial_update_semi_structured.py