def test_prefix_is_empty_string(self, mock_preprocess):
        """Check behavior when text_prefix is an empty string."""
        content = ["Hello world"]
        preprocessor = CLIPPreprocessor()
        preprocessing_config = TextPreprocessingConfig(
            should_chunk=False,
            text_prefix=""
        )

        results = split_prefix_preprocess_text(content, preprocessor, preprocessing_config)

        self.assertEqual(len(results), 1)
        chunks = results[0]

        self.assertEqual(len(chunks), 1)
        text, tensor = chunks[0]

        self.assertEqual(text, "Hello world")  # Prefix is "", so no change.
        self.assertIsInstance(tensor, torch.Tensor)

        mock_preprocess.assert_called()
Check behavior when text_prefix is an empty string.
tests/unit_tests/marqo/inference/media_download_and_preprocess/test_chunk_download_preprocess_text_content.py