code: def test_invalid_model_config(
      error,
      content_type,
      accept_type,
      content_template,
      record_template,
  ):
      with pytest.raises(ValueError, match=error):
          ModelConfig(
              model_name="xgboost-model",
              instance_type="ml.c5.xlarge",
              instance_count=1,
              content_type=content_type,
              accept_type=accept_type,
              content_template=content_template,
              record_template=record_template,
          )
  
imports: from __future__ import absolute_import, print_function
  import copy
  import pytest
  from mock import MagicMock, Mock, patch
  from sagemaker import Processor, image_uris
  from sagemaker.clarify import BiasConfig, DataConfig, ModelConfig, ModelPredictedLabelConfig, PDPConfig, SageMakerClarifyProcessor, SHAPConfig, TextConfig, ImageConfig, _AnalysisConfigGenerator, DatasetType, ProcessingOutputHandler, SegmentationConfig
label_desc: Use image node_id 13 for calling a global function with example usage: test_invalid_model_config(error, content_type, accept_type, content_template, record_template) without return types