class_docstr: Checks all functions of the LocalFileDriver
class_docstr_tok: ["Checks","all","functions","of","the","LocalFileDriver"]
code: def test_get_collection_files(self):
      self.local_file_driver.init()
      # Test empty file collection default mode
      filehash_empty, _, _ = self.local_file_driver.create_collection(
          []
      )
      result = self.local_file_driver.get_collection_files(
          filehash_empty
      )
      assert not result
  
      # 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(
          os.path.join("dirpath1", "filepath1")
      )
      self.local_file_driver.create(
          os.path.join("dirpath2", "filepath2")
      )
      self.local_file_driver.create("filepath3")
  
      # Absolute file paths to add to collection
      dirpath1 = os.path.join(self.local_file_driver.root, "dirpath1")
      dirpath2 = os.path.join(self.local_file_driver.root, "dirpath2")
      filepath3 = os.path.join(self.local_file_driver.root, "filepath3")
  
      filehash, _, _ = self.local_file_driver.create_collection(
          [dirpath1, dirpath2, filepath3]
      )
  
      # Absolute file paths after added to collection (to test)
      filepath1_after = os.path.join(
          self.local_file_driver.datmo_directory,
          "collections",
          filehash,
          "dirpath1",
          "filepath1",
      )
      filepath2_after = os.path.join(
          self.local_file_driver.datmo_directory,
          "collections",
          filehash,
          "dirpath2",
          "filepath2",
      )
      filepath3_after = os.path.join(
          self.local_file_driver.datmo_directory,
          "collections",
          filehash,
          "filepath3",
      )
      paths_list = [filepath1_after, filepath2_after, filepath3_after]
      result = self.local_file_driver.get_collection_files(filehash)
  
      assert len(result) == 3
      assert (
          isinstance(result[0], TextIOWrapper)
          and result[0].name in paths_list
      )
      assert (
          isinstance(result[1], TextIOWrapper)
          and result[1].name in paths_list
      )
      assert (
          isinstance(result[2], TextIOWrapper)
          and result[2].name in paths_list
      )
  
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 39 for calling the TestLocalFileDriver obj's underlying member method code with example usage: obj.test_get_collection_files() without return types