code: def test_deploy_multi_data_model(sagemaker_session):
      model = MultiDataModel(
          name=MODEL_NAME,
          model_data_prefix=VALID_MULTI_MODEL_DATA_PREFIX,
          image_uri=IMAGE,
          role=ROLE,
          sagemaker_session=sagemaker_session,
          env={"EXTRA_ENV_MOCK": "MockValue"},
      )
      model.deploy(
          initial_instance_count=INSTANCE_COUNT,
          instance_type=INSTANCE_TYPE,
          endpoint_name=MULTI_MODEL_ENDPOINT_NAME,
      )
  
      sagemaker_session.create_model.assert_called_with(
          MODEL_NAME,
          ROLE,
          model.prepare_container_def(INSTANCE_TYPE),
          vpc_config=None,
          enable_network_isolation=False,
          tags=None,
      )
      sagemaker_session.endpoint_from_production_variants.assert_called_with(
          name=MULTI_MODEL_ENDPOINT_NAME,
          wait=True,
          tags=None,
          kms_key=None,
          data_capture_config_dict=None,
          production_variants=EXPECTED_PROD_VARIANT,
      )
  
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 9 for calling a global function with example usage: test_deploy_multi_data_model(sagemaker_session) without return types