code: def test_deploy_multi_data_framework_model(
      sagemaker_session, mxnet_model
  ):
      model = MultiDataModel(
          name=MODEL_NAME,
          model_data_prefix=VALID_MULTI_MODEL_DATA_PREFIX,
          sagemaker_session=sagemaker_session,
          model=mxnet_model,
      )
  
      predictor = model.deploy(
          initial_instance_count=INSTANCE_COUNT,
          instance_type=INSTANCE_TYPE,
          endpoint_name=MULTI_MODEL_ENDPOINT_NAME,
      )
  
      # Assert if this is called with mxnet_model parameters
      sagemaker_session.create_model.assert_called_with(
          MODEL_NAME,
          MXNET_ROLE,
          model.prepare_container_def(INSTANCE_TYPE),
          vpc_config=None,
          enable_network_isolation=True,
          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,
      )
      sagemaker_session.create_endpoint_config.assert_not_called()
      assert isinstance(predictor, MXNetPredictor)
  
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 10 for calling a global function with example usage: test_deploy_multi_data_framework_model(sagemaker_session, mxnet_model) without return types