code: def test_logging_with_additional_configs_and_none_are_found(caplog):
      # Should log info message stating sdk defaults were not applied
      # for admin and user config since both are missing from default location.
      # Should throw exception when config in additional_config_path is missing
      logger.propagate = True
      with pytest.raises(ValueError):
          load_sagemaker_config(
              additional_config_paths=["fake-path"], repeat_log=True
          )
      assert (
          "Not applying SDK defaults from location: {}".format(
              _DEFAULT_ADMIN_CONFIG_FILE_PATH
          )
          in caplog.text
      )
      assert (
          "Not applying SDK defaults from location: {}".format(
              _DEFAULT_USER_CONFIG_FILE_PATH
          )
          in caplog.text
      )
      logger.propagate = False
  
imports: from __future__ import absolute_import
  import os
  import pytest
  import yaml
  import logging
  from mock import Mock, MagicMock, patch, call
  from sagemaker.config.config import load_local_mode_config, load_sagemaker_config, logger, non_repeating_log_factory, _DEFAULT_ADMIN_CONFIG_FILE_PATH, _DEFAULT_USER_CONFIG_FILE_PATH, _DEFAULT_LOCAL_MODE_CONFIG_FILE_PATH
  from jsonschema import exceptions
  from yaml.constructor import ConstructorError
label_desc: Use image node_id 25 for calling a global function with example usage: test_logging_with_additional_configs_and_none_are_found(caplog) without return types