code: def test_handle_pre_exec_scripts(run_scrips):
      bootstrap._handle_pre_exec_scripts(TEST_DEPENDENCIES_PATH)
      run_scrips.assert_called_once_with(
          pre_exec_script_path=TEST_DEPENDENCIES_PATH + "/pre_exec.sh"
      )
  
imports: from __future__ import absolute_import
  from mock import patch
  from mock.mock import MagicMock
  from sagemaker.remote_function.runtime_environment.runtime_environment_manager import RuntimeEnvironmentError, _DependencySettings
  import sagemaker.remote_function.runtime_environment.bootstrap_runtime_environment
  import pathlib
label_desc: Use image node_id 16 for calling a global function with example usage: test_handle_pre_exec_scripts(run_scrips) without return types