code: def test_prepare_djl_js_resources_for_jumpstart_invalid_model_data(
      self, mock_move_to_code_dir, mock_tmpdir
  ):
      mock_code_dir = Mock()
      mock_tmpdir_obj = Mock()
      type(mock_tmpdir_obj).__enter__ = PropertyMock(
          return_value=Mock()
      )
      type(mock_tmpdir_obj).__exit__ = PropertyMock(return_value=Mock())
      mock_tmpdir.return_value = mock_tmpdir_obj
  
      with self.assertRaises(ValueError) as context:
          _copy_jumpstart_artifacts(
              MOCK_INVALID_MODEL_DATA_DICT,
              MOCK_JUMPSTART_ID,
              mock_code_dir,
          )
  
      assert not mock_move_to_code_dir.called
      self.assertTrue(
          "JumpStart model data compression format is unsupported"
          in str(context.exception)
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/serve/model_server/djl_serving/test_djl_prepare.py
imports: from __future__ import absolute_import
  from unittest import TestCase
  from unittest.mock import Mock, PropertyMock, patch, mock_open, call
  from sagemaker.serve.model_server.djl_serving.prepare import _copy_jumpstart_artifacts, _create_dir_structure, _move_to_code_dir, _extract_js_resource
  from tests.unit.sagemaker.serve.model_server.constants import MOCK_JUMPSTART_ID, MOCK_TMP_DIR, MOCK_COMPRESSED_MODEL_DATA_STR, MOCK_UNCOMPRESSED_MODEL_DATA_STR, MOCK_UNCOMPRESSED_MODEL_DATA_STR_FOR_DICT, MOCK_UNCOMPRESSED_MODEL_DATA_DICT, MOCK_INVALID_MODEL_DATA_DICT
label_desc: Use image node_id 5 for calling the DjlPrepareTests obj's underlying member method code with example usage: obj.test_prepare_djl_js_resources_for_jumpstart_invalid_model_data(mock_move_to_code_dir, mock_tmpdir) without return types