Esempio n. 1
0
    def set_path(self, path):
        self.__path = path

        # Read all the files from the given path and put them in a queue
        self.files = FileManager().get_files_list(path)
        for file in self.files:
            self._in_queue.put(file)
 def setUp(self):
     self.fm = FileManager()
     self.dir = normpath(
         join(dirname(__file__), ('../../../../tests/'
                                  'fixtures/main/filemanager')))
     self.file = normpath(
         join(dirname(__file__), ('../../../../tests/'
                                  'fixtures/main/filemanager/a.bib')))