Esempio n. 1
0
 def get_fs(cls, registry, fs_name, fs_name_params, fs_path,  writeable, create_dir):
     from fs.tempfs import TempFS
     from fs.wrapfs.lazyfs import LazyFS
     fs = LazyFS((TempFS,(),{"identifier":fs_name_params}))
     return fs, fs_path
Esempio n. 2
0
 def setUp(self):
     self.temp_dir = tempfile.mkdtemp(u"fstest")
     self.fs = LazyFS((osfs.OSFS,(self.temp_dir,)))