code: def test_jumpstart_sagemaker_settings():
      assert "" == accessors.SageMakerSettings.get_sagemaker_version()
      accessors.SageMakerSettings.set_sagemaker_version("1.0.1")
      assert (
          "1.0.1" == accessors.SageMakerSettings.get_sagemaker_version()
      )
      assert (
          "1.0.1" == accessors.SageMakerSettings.get_sagemaker_version()
      )
      accessors.SageMakerSettings.set_sagemaker_version("1.0.2")
      assert (
          "1.0.2" == accessors.SageMakerSettings.get_sagemaker_version()
      )
  
      # necessary because accessors is a static module
      reload(accessors)
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/jumpstart/test_accessors.py
imports: from __future__ import absolute_import
  from io import BytesIO
  from unittest import TestCase
  from mock.mock import Mock, patch
  import pytest
  from sagemaker.jumpstart import accessors
  from tests.unit.sagemaker.jumpstart.constants import BASE_MANIFEST
  from tests.unit.sagemaker.jumpstart.utils import get_header_from_base_header, get_spec_from_base_spec
  from importlib import reload
label_desc: Use image node_id 1 for calling a global function with example usage: test_jumpstart_sagemaker_settings() without return types