code: def test_pipeline_execution_arn(sagemaker_session):
      obj = context.ModelPackageGroup(
          sagemaker_session,
          context_name="foo",
          description="test-description",
          properties={"PipelineExecutionArn": "abcd", "k2": "v2"},
          properties_to_remove=["E"],
      )
      actual_result = obj.pipeline_execution_arn()
      expected_result = "abcd"
      assert expected_result == actual_result
  
imports: from __future__ import absolute_import
  import unittest.mock
  import pytest
  from sagemaker.lineage import context
label_desc: Use image node_id 2 for calling a global function with example usage: test_pipeline_execution_arn(sagemaker_session) without return types