code: def session():
      boto_mock = Mock(region_name=REGION_NAME)
      sms = Mock(
          boto_session=boto_mock,
          boto_region_name=REGION_NAME,
          config=None,
          settings=SessionSettings(),
      )
      sms.default_bucket = Mock(return_value=BUCKET_NAME)
      # For tests which doesn't verify config file injection, operate with empty config
      sms.sagemaker_config = {}
      return sms
  
imports: from __future__ import absolute_import
  from mock.mock import Mock
  import pytest
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 1 for calling a global function with example usage: session() and returns: sms