code: def test_sagemaker_config_job_settings_with_configuration_file(
      get_execution_role, session, secret_token
  ):
      config_tags = [
          {"Key": "someTagKey", "Value": "someTagValue"},
          {"Key": "someTagKey2", "Value": "someTagValue2"},
      ]
      session().sagemaker_config = load_sagemaker_config(
          additional_config_paths=[
              os.path.join(DATA_DIR, "remote_function")
          ]
      )
      session()._append_sagemaker_config_tags.return_value = config_tags
  
      job_settings = _JobSettings(image_uri="image_uri")
      assert job_settings.image_uri == "image_uri"
      assert job_settings.s3_root_uri == f"s3://{BUCKET}"
      assert job_settings.role == DEFAULT_ROLE_ARN
      assert job_settings.tags == config_tags
      assert job_settings.vpc_config == {
          "Subnets": ["subnet-1234"],
          "SecurityGroupIds": ["sg123"],
      }
      assert job_settings.pre_execution_commands == [
          "command_1",
          "command_2",
      ]
      assert job_settings.environment_variables == {
          "AWS_DEFAULT_REGION": "us-west-2",
          "REMOTE_FUNCTION_SECRET_KEY": "some-hmac-key",
          "EnvVarKey": "EnvVarValue",
      }
      assert job_settings.job_conda_env == "my_conda_env"
      assert job_settings.include_local_workdir is True
      assert job_settings.custom_file_filter.ignore_name_patterns == [
          "data",
          "test",
      ]
      assert job_settings.volume_kms_key == "someVolumeKmsKey"
      assert job_settings.s3_kms_key == "someS3KmsKey"
      assert job_settings.instance_type == "ml.m5.large"
      assert job_settings.enable_network_isolation is False
      assert job_settings.encrypt_inter_container_traffic is True
  
imports: from __future__ import absolute_import
  import os
  import sys
  import pytest
  from mock import patch, Mock, ANY, mock_open
  from mock.mock import MagicMock
  from sagemaker.config import load_sagemaker_config
  from sagemaker.remote_function.checkpoint_location import CheckpointLocation
  from sagemaker.remote_function.core.stored_function import _SerializedData
  from sagemaker.session_settings import SessionSettings
  from sagemaker.remote_function.spark_config import SparkConfig
  from sagemaker.remote_function.custom_file_filter import CustomFileFilter
  from sagemaker.remote_function.core.pipeline_variables import Context
  from sagemaker.workflow.pipeline_context import _PipelineConfig
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
  from sagemaker.workflow.execution_variables import ExecutionVariables
  from sagemaker.utils import sagemaker_timestamp
  from tests.unit import DATA_DIR
  from sagemaker.remote_function.job import _JobSettings, _Job, _convert_run_to_json, _prepare_and_upload_runtime_scripts, _prepare_and_upload_workspace, _prepare_and_upload_spark_dependent_files, _upload_spark_submit_deps, _upload_serialized_spark_configuration, _extend_spark_config_to_request, _prepare_dependencies_and_pre_execution_scripts
label_desc: Use image node_id 11 for calling a global function with example usage: test_sagemaker_config_job_settings_with_configuration_file(get_execution_role, session, secret_token) without return types