code: def test_describe_model(LocalSession):
      local_sagemaker_client = (
          sagemaker.local.local_session.LocalSagemakerClient()
      )
  
      with pytest.raises(ClientError):
          local_sagemaker_client.describe_model("model-does-not-exist")
  
      local_sagemaker_client.create_model(MODEL_NAME, PRIMARY_CONTAINER)
      response = local_sagemaker_client.describe_model(MODEL_NAME)
  
      assert response["ModelName"] == "test-model"
      assert (
          response["PrimaryContainer"]["ModelDataUrl"]
          == "/some/model/path"
      )
  
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 13 for calling a global function with example usage: test_describe_model(LocalSession) without return types