code: def test_start_local_transform_job(
      _perform_batch_inference, _perform_request, local_transform_job
  ):
      input_data = {}
      output_data = {}
      transform_resources = {"InstanceType": "local"}
  
      response = Mock()
      _perform_request.return_value = (response, 200)
      response.data = '{"BatchStrategy": "SingleRecord"}'.encode(
          "UTF-8"
      )
      local_transform_job.primary_container[
          "ModelDataUrl"
      ] = "file:///some/model"
      local_transform_job.start(
          input_data, output_data, transform_resources, Environment={}
      )
  
      _perform_batch_inference.assert_called()
      response = local_transform_job.describe()
      assert response["TransformJobStatus"] == "Completed"
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from mock import patch, Mock
  from botocore.exceptions import ClientError
  import sagemaker.local
  from sagemaker.workflow.parameters import ParameterString
  from sagemaker.workflow.pipeline import Pipeline
  from sagemaker.workflow.lambda_step import LambdaStep
  from tests.unit.sagemaker.workflow.helpers import CustomStep
label_desc: Use image node_id 7 for calling a global function with example usage: test_start_local_transform_job(_perform_batch_inference, _perform_request, local_transform_job) without return types