def test_should_not_chunk_with_chunk_config(self):
        """
        Test that a ValidationError is raised when should_chunk is False but chunk_config is provided.
        """
        with self.assertRaises(ValidationError) as context:
            AudioPreprocessingConfig(
                should_chunk=False,
                chunk_config=ChunkConfig(split_length=10, split_overlap=2),
            )
        self.assertIn("`chunk_config` must not be provided when `should_chunk` is False.", str(context.exception))

        Test that a ValidationError is raised when should_chunk is False but chunk_config is provided.
        
tests/unit_tests/marqo/core/inference/api/test_preprocessing_config.py