code: def test_prepare_container_def_no_model_defaults(
      sagemaker_session, tmpdir
  ):
      model = DummyFrameworkModel(
          sagemaker_session,
          source_dir="sd",
          env={"a": "a"},
          name="name",
          container_log_level=55,
          code_location="s3://cb/cp",
      )
  
      assert model.prepare_container_def(INSTANCE_TYPE) == {
          "Environment": {
              "SAGEMAKER_PROGRAM": ENTRY_POINT,
              "SAGEMAKER_SUBMIT_DIRECTORY": "s3://cb/cp/name/sourcedir.tar.gz",
              "SAGEMAKER_CONTAINER_LOG_LEVEL": "55",
              "SAGEMAKER_REGION": REGION,
              "a": "a",
          },
          "Image": MODEL_IMAGE,
          "ModelDataUrl": MODEL_DATA,
      }
  
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 4 for calling a global function with example usage: test_prepare_container_def_no_model_defaults(sagemaker_session, tmpdir) without return types