code: def test_start_local_transform_job_from_remote_docker_host(
      m_perform_batch_inference,
      m_perform_request,
      m_get_docker_host,
      local_transform_job,
  ):
      input_data = {}
      output_data = {}
      transform_resources = {"InstanceType": "local"}
      m_get_docker_host.return_value = "some_host"
      response = Mock()
      m_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={}
      )
      endpoints = [
          "http://%s:%d/ping" % ("some_host", 8080),
          "http://%s:%d/execution-parameters" % ("some_host", 8080),
      ]
      calls = m_perform_request.call_args_list
      for call, endpoint in zip(calls, endpoints):
          assert call[0][0] == endpoint
  
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 9 for calling a global function with example usage: test_start_local_transform_job_from_remote_docker_host(m_perform_batch_inference, m_perform_request, m_get_docker_host, local_transform_job) without return types