code: def test_get_s3_upload_mode_text(self):
      analysis_config = {"dataset_type": DatasetType.TEXTCSV.value}
      s3_upload_mode = ProcessingOutputHandler.get_s3_upload_mode(
          analysis_config
      )
      assert (
          s3_upload_mode
          == ProcessingOutputHandler.S3UploadMode.ENDOFJOB.value
      )
  
imports: from __future__ import absolute_import, print_function
  import copy
  import pytest
  from mock import MagicMock, Mock, patch
  from sagemaker import Processor, image_uris
  from sagemaker.clarify import BiasConfig, DataConfig, ModelConfig, ModelPredictedLabelConfig, PDPConfig, SageMakerClarifyProcessor, SHAPConfig, TextConfig, ImageConfig, _AnalysisConfigGenerator, DatasetType, ProcessingOutputHandler, SegmentationConfig
label_desc: Use image node_id 2 for calling the TestProcessingOutputHandler obj's underlying member method code with example usage: obj.test_get_s3_upload_mode_text() without return types