code: def test_list_jumpstart_models_region(
      self, patched_get_model_specs: Mock, patched_get_manifest: Mock
  ):
      patched_get_model_specs.side_effect = get_prototype_model_spec
  
      patched_get_manifest.side_effect = (
          lambda region, *args, **kwargs: get_prototype_manifest(
              region="us-west-2"
          )
      )
  
      list_jumpstart_models(region="some-region")
  
      patched_get_manifest.assert_called_once_with(
          region="some-region",
          s3_client=DEFAULT_JUMPSTART_SAGEMAKER_SESSION.s3_client,
      )
  
imports: from __future__ import absolute_import
  import json
  from unittest import TestCase
  from unittest.mock import Mock, patch
  import pytest
  from sagemaker.jumpstart.constants import DEFAULT_JUMPSTART_SAGEMAKER_SESSION, JUMPSTART_DEFAULT_REGION_NAME
  from sagemaker.jumpstart.filters import And, Identity, Not, Or
  from tests.unit.sagemaker.jumpstart.constants import PROTOTYPICAL_MODEL_SPECS_DICT
  from tests.unit.sagemaker.jumpstart.utils import get_header_from_base_header, get_prototype_manifest, get_prototype_model_spec
  from sagemaker.jumpstart.notebook_utils import _generate_jumpstart_model_versions, get_model_url, list_jumpstart_frameworks, list_jumpstart_models, list_jumpstart_scripts, list_jumpstart_tasks
label_desc: Use image node_id 5 for calling the ListJumpStartModels obj's underlying member method code with example usage: obj.test_list_jumpstart_models_region(patched_get_model_specs, patched_get_manifest) without return types