code: def test_invoke_local_endpoint_with_remote_docker_host(
      m_request,
      m_get_docker_host,
  ):
      m_get_docker_host.return_value = "some_host"
      Body = "Body".encode("utf-8")
      url = "http://%s:%d/invocations" % ("some_host", 8080)
      sagemaker.local.local_session.LocalSagemakerRuntimeClient().invoke_endpoint(
          Body, "local_endpoint"
      )
      m_request.assert_called_with(
          "POST", url, body=Body, preload_content=False, headers={}
      )
  
imports: from __future__ import absolute_import
  import jsonschema
  import pytest
  import urllib3
  import os
  from botocore.exceptions import ClientError
  from mock import Mock, patch
  from tests.unit import DATA_DIR, SAGEMAKER_CONFIG_SESSION
  import sagemaker
  from sagemaker.workflow.parameters import ParameterString
  from sagemaker.workflow.pipeline import Pipeline
  from tests.unit.sagemaker.workflow.helpers import CustomStep
  from sagemaker.local.local_session import LocalSession
  from sagemaker.local.entities import _LocalPipelineExecution
label_desc: Use image node_id 32 for calling a global function with example usage: test_invoke_local_endpoint_with_remote_docker_host(m_request, m_get_docker_host) without return types