def test_empty_string_in_content(self, mock_preprocess):
        """Check behavior with an empty string in the content list."""
        content = ["", "Non-empty text"]
        preprocessor = CLIPPreprocessor()
        preprocessing_config = TextPreprocessingConfig(
            should_chunk=False,
            text_prefix="prefix: "
        )

        results = split_prefix_preprocess_text(content, preprocessor, preprocessing_config)

        self.assertEqual(len(results), 2)

        for chunk_list in results:
            for text, tensor in chunk_list:
                self.assertIsInstance(text, str)
                self.assertFalse(text.startswith("prefix: "))
                self.assertIsInstance(tensor, torch.Tensor)

        mock_preprocess.assert_called()
Check behavior with an empty string in the content list.
tests/unit_tests/marqo/inference/media_download_and_preprocess/test_chunk_download_preprocess_text_content.py