class_docstr: Checks all functions of the LocalFileDriver
class_docstr_tok: ["Checks","all","functions","of","the","LocalFileDriver"]
code: def test_transfer_collection(self):
      # Create test directories to move
      self.local_file_driver.create("dirpath1", directory=True)
      self.local_file_driver.create("dirpath2", directory=True)
      self.local_file_driver.create("filepath1")
  
      dirpath1 = os.path.join(self.local_file_driver.root, "dirpath1")
      dirpath2 = os.path.join(self.local_file_driver.root, "dirpath2")
      filepath1 = os.path.join(self.local_file_driver.root, "filepath1")
      self.local_file_driver.init()
      filehash, _, _ = self.local_file_driver.create_collection(
          [dirpath1, dirpath2, filepath1]
      )
      dst_dirpath = os.path.join(self.temp_dir, "new_dir")
      self.local_file_driver.create(dst_dirpath, directory=True)
      result = self.local_file_driver.transfer_collection(
          filehash, dst_dirpath
      )
      assert (
          result == True
          and os.path.isdir(os.path.join(dst_dirpath, "dirpath1"))
          and os.path.isdir(os.path.join(dst_dirpath, "dirpath2"))
          and os.path.isfile(os.path.join(dst_dirpath, "filepath1"))
      )
  
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 42 for calling the TestLocalFileDriver obj's underlying member method code with example usage: obj.test_transfer_collection() without return types