code: def test_transform_with_generated_output_path_pipeline_config(
      pipeline_session,
  ):
      transformer = Transformer(
          MODEL_NAME,
          INSTANCE_COUNT,
          INSTANCE_TYPE,
          sagemaker_session=pipeline_session,
          volume_kms_key=KMS_KEY_ID,
      )
      step_args = transformer.transform(DATA)
      # execute transform.transform() and generate args, S3 paths
      step_args.func(*step_args.func_args, **step_args.func_kwargs)
      expected_path = {
          "Std:Join": {
              "On": "/",
              "Values": [
                  "s3:/",
                  S3_BUCKET,
                  "test-pipeline",
                  {"Get": "Execution.PipelineExecutionId"},
                  "test-training-step",
              ],
          }
      }
      assert expected_path == transformer.output_path.expr
  
imports: from __future__ import absolute_import
  import pytest
  from mock import MagicMock, Mock, patch, PropertyMock
  from sagemaker.session_settings import SessionSettings
  from sagemaker.transformer import _TransformJob, Transformer
  from sagemaker.workflow.pipeline_context import PipelineSession, _PipelineConfig
  from sagemaker.inputs import BatchDataCaptureConfig
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
  from tests.integ import test_local_mode
  from tests.unit import SAGEMAKER_CONFIG_TRANSFORM_JOB
label_desc: Use image node_id 17 for calling a global function with example usage: test_transform_with_generated_output_path_pipeline_config(pipeline_session) without return types