code: def test_processing_job_inputs_and_output_config(
      sagemaker_session, image_uri, cpu_instance_type, output_kms_key
  ):
      script_processor = ScriptProcessor(
          role=ROLE,
          image_uri=image_uri,
          command=["python3"],
          instance_count=1,
          instance_type=cpu_instance_type,
          volume_size_in_gb=100,
          volume_kms_key=None,
          output_kms_key=output_kms_key,
          max_runtime_in_seconds=3600,
          base_job_name="test-script-processor",
          env={"DUMMY_ENVIRONMENT_VARIABLE": "dummy-value"},
          tags=[{"Key": "dummy-tag", "Value": "dummy-tag-value"}],
          sagemaker_session=sagemaker_session,
      )
  
      script_processor.run(
          code=os.path.join(DATA_DIR, "dummy_script.py"),
          inputs=_get_processing_inputs_with_all_parameters(
              sagemaker_session.default_bucket()
          ),
          outputs=_get_processing_outputs_with_all_parameters(),
          arguments=["-v"],
          wait=False,
      )
  
      job_description = script_processor.latest_job.describe()
      expected_inputs_and_outputs = (
          _get_processing_job_inputs_and_outputs(
              sagemaker_session.default_bucket(), output_kms_key
          )
      )
      assert (
          job_description["ProcessingInputs"][:-1]
          == expected_inputs_and_outputs["ProcessingInputs"]
      )
      assert (
          job_description["ProcessingOutputConfig"]
          == expected_inputs_and_outputs["ProcessingOutputConfig"]
      )
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from botocore.config import Config
  from sagemaker import image_uris, Session
  from sagemaker.dataset_definition.inputs import DatasetDefinition, RedshiftDatasetDefinition, AthenaDatasetDefinition, S3Input
  from sagemaker.network import NetworkConfig
  from sagemaker.processing import ProcessingInput, ProcessingOutput, ScriptProcessor, Processor, ProcessingJob, FeatureStoreOutput
  from sagemaker.sklearn.processing import SKLearnProcessor
  from tests.integ import DATA_DIR
  from tests.integ.kms_utils import get_or_create_kms_key
label_desc: Use image node_id 15 for calling a global function with example usage: test_processing_job_inputs_and_output_config(sagemaker_session, image_uri, cpu_instance_type, output_kms_key) without return types