Exemplo n.º 1
0
 def setUp(self):
     self.orphan_found = []
     self.fs = FakeFileSystem()
     self.trashdir = TrashDir(self.fs)
     self.trashdir.open('/', None)
Exemplo n.º 2
0
 def list_from_volume_trashdir(self, trashdir_path, volume):
     self.volume = volume
     trashdir = TrashDir(self.file_reader)
     trashdir.open(trashdir_path, volume)
     trashdir.each_trashinfo(self._report_original_location)
Exemplo n.º 3
0
 def list_from_volume_trashdir(self, trashdir_path, volume):
     self.volume = volume
     self.trashdir = TrashDir(FileSystemReader())
     self.trashdir.open(trashdir_path, volume)
     self.trashdir.each_trashinfo(self._report_original_location)