code: def test_remove_customer_metadata(sagemaker_session):
      model_package = ModelPackage(
          role="role",
          model_package_arn=MODEL_PACKAGE_VERSIONED_ARN,
          sagemaker_session=sagemaker_session,
      )
  
      customer_metadata_to_remove = ["Key"]
  
      model_package.remove_customer_metadata_properties(
          customer_metadata_properties_to_remove=customer_metadata_to_remove
      )
  
      sagemaker_session.sagemaker_client.update_model_package.assert_called_with(
          ModelPackageArn=MODEL_PACKAGE_VERSIONED_ARN,
          CustomerMetadataPropertiesToRemove=customer_metadata_to_remove,
      )
  
imports: from __future__ import absolute_import
  import copy
  import pytest
  from mock import Mock, patch
  import sagemaker
  from sagemaker.model import ModelPackage
  from sagemaker.model_card.schema_constraints import ModelApprovalStatusEnum
label_desc: Use image node_id 15 for calling a global function with example usage: test_remove_customer_metadata(sagemaker_session) without return types