code: def test_move_to_destination_local(recursive_copy):
      # local files will just be recursively copied
      # given absolute path
      sagemaker.local.utils.move_to_destination(
          "/tmp/data", "file:///target/dir", "job", None
      )
      recursive_copy.assert_called_with("/tmp/data", "/target/dir")
      # given relative path
      sagemaker.local.utils.move_to_destination(
          "/tmp/data", "file://root/target/dir", "job", None
      )
      recursive_copy.assert_called_with(
          "/tmp/data", os.path.abspath("./root/target/dir")
      )
  
imports: from __future__ import absolute_import
  import os
  import errno
  import pytest
  import json
  from mock import patch, Mock, mock_open
  import sagemaker.local.utils
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 2 for calling a global function with example usage: test_move_to_destination_local(recursive_copy) without return types