def test_split_length_greater_than_text_length(self, mock_preprocess):
        """Check behavior when split length is greater than text length."""
        content = ["Short text"]
        preprocessor = CLIPPreprocessor()
        preprocessing_config = TextPreprocessingConfig(
            should_chunk=True,
            chunk_config=TextChunkConfig(split_method="word", split_length=10, split_overlap=0),
            text_prefix=None
        )

        results = split_prefix_preprocess_text(content, preprocessor, preprocessing_config)

        self.assertEqual(len(results), 1)
        chunks = results[0]
        # Should return one chunk since text is shorter than split_length
        self.assertEqual(len(chunks), 1)

        for text, tensor in chunks:
            self.assertIsInstance(text, str)
            self.assertIsInstance(tensor, torch.Tensor)

        mock_preprocess.assert_called()
Check behavior when split length is greater than text length.
tests/unit_tests/marqo/inference/media_download_and_preprocess/test_chunk_download_preprocess_text_content.py