code: def test_not_repack_code_location_with_key_prefix(
      repack_model, sagemaker_session
  ):
      code_location = "s3://my-bucket/code/location/"
  
      t = FrameworkModel(
          entry_point=ENTRY_POINT,
          role=ROLE,
          sagemaker_session=sagemaker_session,
          source_dir="s3://codebucket/someprefix/sourcedir.tar.gz",
          image_uri=IMAGE_URI,
          model_data=MODEL_DATA,
          code_location=code_location,
      )
      t.deploy(
          instance_type=INSTANCE_TYPE,
          initial_instance_count=INSTANCE_COUNT,
      )
  
      repack_model.assert_not_called()
  
imports: from __future__ import absolute_import
  import os
  import subprocess
  from sagemaker.model import FrameworkModel
  from sagemaker.predictor import Predictor
  import pytest
  from mock import MagicMock, Mock, patch
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 20 for calling a global function with example usage: test_not_repack_code_location_with_key_prefix(repack_model, sagemaker_session) without return types