code: def test_create_model(sagemaker_session, xgboost_framework_version):
      source_dir = "s3://mybucket/source"
  
      xgboost_model = XGBoostModel(
          model_data=source_dir,
          role=ROLE,
          sagemaker_session=sagemaker_session,
          entry_point=SCRIPT_PATH,
          framework_version=xgboost_framework_version,
      )
      default_image_uri = _get_full_image_uri(xgboost_framework_version)
      model_values = xgboost_model.prepare_container_def(CPU)
      assert model_values["Image"] == default_image_uri
  
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  import pytest
  from mock import Mock
  from mock import patch
  from packaging.version import Version
  from sagemaker.fw_utils import UploadedCode
  from sagemaker.session_settings import SessionSettings
  from sagemaker.xgboost import XGBoost, XGBoostModel, XGBoostPredictor
label_desc: Use image node_id 5 for calling a global function with example usage: test_create_model(sagemaker_session, xgboost_framework_version) without return types