code: def test_model_mms_version(
      repack_model,
      sagemaker_session,
      mxnet_inference_version,
      mxnet_inference_py_version,
      skip_if_not_mms_version,
  ):
      model_kms_key = "kms-key"
      model = MXNetModel(
          MODEL_DATA,
          role=ROLE,
          entry_point=SCRIPT_PATH,
          framework_version=mxnet_inference_version,
          py_version=mxnet_inference_py_version,
          sagemaker_session=sagemaker_session,
          name="test-mxnet-model",
          model_kms_key=model_kms_key,
      )
      predictor = model.deploy(1, GPU)
  
      repack_model.assert_called_once_with(
          inference_script=SCRIPT_PATH,
          source_directory=None,
          dependencies=[],
          model_uri=MODEL_DATA,
          repacked_model_uri="s3://mybucket/test-mxnet-model/model.tar.gz",
          sagemaker_session=sagemaker_session,
          kms_key=model_kms_key,
      )
  
      assert model.model_data == MODEL_DATA
      assert (
          model.repacked_model_data
          == "s3://mybucket/test-mxnet-model/model.tar.gz"
      )
      assert model.uploaded_code == UploadedCode(
          s3_prefix="s3://mybucket/test-mxnet-model/model.tar.gz",
          script_name=os.path.basename(SCRIPT_PATH),
      )
      assert isinstance(predictor, MXNetPredictor)
  
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  import pytest
  from mock import MagicMock, Mock, ANY
  from mock import patch
  from pkg_resources import parse_version
  from sagemaker.fw_utils import UploadedCode
  from sagemaker.drift_check_baselines import DriftCheckBaselines
  from sagemaker.metadata_properties import MetadataProperties
  from sagemaker.model_metrics import FileSource, MetricsSource, ModelMetrics
  from sagemaker.mxnet import defaults
  from sagemaker.mxnet import MXNet
  from sagemaker.mxnet import MXNetPredictor, MXNetModel
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 18 for calling a global function with example usage: test_model_mms_version(repack_model, sagemaker_session, mxnet_inference_version, mxnet_inference_py_version, skip_if_not_mms_version) without return types