code: def test_add_model_with_invalid_model_uri(multi_data_model):
      with pytest.raises(ValueError) as ex:
          multi_data_model.add_model(INVALID_S3_URL)
  
      assert 'model_source must either be a valid local file path or s3 uri. Received: "{}"'.format(
          INVALID_S3_URL
      ) in str(
          ex.value
      )
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from mock import MagicMock, Mock, call, patch
  from sagemaker.multidatamodel import MULTI_MODEL_CONTAINER_MODE
  from sagemaker.multidatamodel import MultiDataModel
  from sagemaker.mxnet import MXNetModel, MXNetPredictor
label_desc: Use image node_id 14 for calling a global function with example usage: test_add_model_with_invalid_model_uri(multi_data_model) without return types