code: def test_jumpstart_estimator_tags(
      self,
      mock_get_model_specs: mock.Mock,
      mock_is_valid_model_id: mock.Mock,
  ):
      mock_is_valid_model_id.return_value = True
  
      model_id, _ = "js-trainable-model-prepacked", "*"
  
      mock_get_model_specs.side_effect = get_special_model_spec
  
      mock_session = mock.MagicMock(
          sagemaker_config={}, boto_region_name="us-west-2"
      )
  
      estimator = JumpStartEstimator(
          model_id=model_id,
          sagemaker_session=mock_session,
          tags=[{"Key": "blah", "Value": "blahagain"}],
      )
  
      channels = {
          "training": f"s3://{get_jumpstart_content_bucket(region)}/"
          f"some-training-dataset-doesn't-matter",
      }
  
      estimator.fit(channels)
  
      js_tags = [
          {
              "Key": "sagemaker-sdk:jumpstart-model-id",
              "Value": "js-trainable-model-prepacked",
          },
          {
              "Key": "sagemaker-sdk:jumpstart-model-version",
              "Value": "1.2.0",
          },
      ]
  
      self.assertEqual(
          mock_session.train.call_args[1]["tags"],
          [{"Key": "blah", "Value": "blahagain"}] + js_tags,
      )
  
imports: from __future__ import absolute_import
  import time
  from typing import Optional, Set
  from unittest import mock
  import unittest
  from inspect import signature
  import pytest
  from sagemaker.async_inference.async_inference_config import AsyncInferenceConfig
  from sagemaker.debugger.profiler_config import ProfilerConfig
  from sagemaker.estimator import Estimator
  from sagemaker.instance_group import InstanceGroup
  from sagemaker.jumpstart.artifacts.environment_variables import _retrieve_default_environment_variables
  from sagemaker.jumpstart.artifacts.hyperparameters import _retrieve_default_hyperparameters
  from sagemaker.jumpstart.artifacts.metric_definitions import _retrieve_default_training_metric_definitions
  from sagemaker.jumpstart.constants import DEFAULT_JUMPSTART_SAGEMAKER_SESSION
  from sagemaker.jumpstart.enums import JumpStartScriptScope, JumpStartTag
  from sagemaker.jumpstart.estimator import JumpStartEstimator
  from sagemaker.jumpstart.utils import get_jumpstart_content_bucket
  from sagemaker.session_settings import SessionSettings
  from tests.integ.sagemaker.jumpstart.utils import get_training_dataset_for_model_and_version
  from sagemaker.model import Model
  from sagemaker.predictor import Predictor
  from tests.unit.sagemaker.jumpstart.utils import get_special_model_spec, overwrite_dictionary
label_desc: Use image node_id 11 for calling the EstimatorTest obj's underlying member method code with example usage: obj.test_jumpstart_estimator_tags(mock_get_model_specs, mock_is_valid_model_id) without return types