def setUp(self): self.mem_fs1 = memoryfs.MemoryFS() self.mem_fs2 = memoryfs.MemoryFS() self.mount_fs = mountfs.MountFS() self.mount_fs.mountdir("mem", self.mem_fs1) self.mount_fs.mountdir("mem/two", self.mem_fs2) self.fs = self.mount_fs.opendir("/mem/two")
def setUp(self): self.mount_fs = mountfs.MountFS() self.mem_fs = memoryfs.MemoryFS() self.mount_fs.mountdir("mounted/memfs", self.mem_fs) self.fs = self.mount_fs.opendir("mounted/memfs")
def setUp(self): self.mem_fs = memoryfs.MemoryFS() self.fs = mountfs.MountFS() self.fs.mountdir("", self.mem_fs)