code: def test_start_local_pipeline_with_unknown_parameter(
      sagemaker_local_session,
  ):
      parameter = ParameterString("MyStr")
      step = CustomStep(name="MyStep", input_data=parameter)
      pipeline = Pipeline(
          name="MyPipeline",
          parameters=[parameter],
          steps=[step],
          sagemaker_session=sagemaker_local_session,
      )
      local_pipeline = sagemaker.local.entities._LocalPipeline(pipeline)
      with pytest.raises(ClientError) as error:
          local_pipeline.start(
              PipelineParameters={
                  "MyStr": "test-test",
                  "UnknownParameterFoo": "foo",
              }
          )
      assert "Unknown parameter 'UnknownParameterFoo'" in str(
          error.value
      )
  
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 13 for calling a global function with example usage: test_start_local_pipeline_with_unknown_parameter(sagemaker_local_session) without return types