code: def test_create_model_invalid_s3_uri():
      with pytest.raises(ValueError) as invalid_s3_data:
          _ = DJLModel(
              INVALID_UNCOMPRESSED_MODEL_DATA,
              ROLE,
          )
      assert str(invalid_s3_data.value).startswith(
          "DJLModel does not support model artifacts in tar.gz"
      )
  
imports: from __future__ import absolute_import
  import logging
  import json
  from json import JSONDecodeError
  import pytest
  from mock import Mock, MagicMock
  from mock import patch, mock_open
  from sagemaker.djl_inference import defaults, DJLModel, DJLPredictor, HuggingFaceAccelerateModel, DeepSpeedModel
  from sagemaker.djl_inference.model import DJLServingEngineEntryPointDefaults
  from sagemaker.s3_utils import s3_path_join
  from sagemaker.session_settings import SessionSettings
  from tests.unit import _test_default_bucket_and_prefix_combinations, DEFAULT_S3_BUCKET_NAME, DEFAULT_S3_OBJECT_KEY_PREFIX_NAME
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_model_invalid_s3_uri() without return types