class_docstr: Checks all functions of the LocalFileDriver
class_docstr_tok: ["Checks","all","functions","of","the","LocalFileDriver"]
code: def test_get_safe_dst_filepath(self):
      # Create first file to copy
      relative_filepath = "test.json"
      self.local_file_driver.create(relative_filepath)
      # Create destination directory
      relative_dirpath = "dest"
      self.local_file_driver.create(relative_dirpath, directory=True)
      # Create file within destination directory
      relative_filename_2 = os.path.join(relative_dirpath, "test.json")
      self.local_file_driver.create(relative_filename_2)
  
      filepath = os.path.join(
          self.local_file_driver.root, relative_filepath
      )
      dirpath = os.path.join(
          self.local_file_driver.root, relative_dirpath
      )
      result = self.local_file_driver.get_safe_dst_filepath(
          filepath, dirpath
      )
      assert result == os.path.join(dirpath, "test_0.json")
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import shutil
  import tempfile
  import platform
  from io import TextIOWrapper
  from datmo.core.util.misc_functions import get_datmo_temp_path
  from datmo.core.controller.file.driver.local import LocalFileDriver
  from datmo.core.util.exceptions import PathDoesNotExist
  from datmo.config import Config
label_desc: Use image node_id 4 for calling the TestLocalFileDriver obj's underlying member method code with example usage: obj.test_get_safe_dst_filepath() without return types