- @profiled
- def magicDirTest_moveFileFromCollection(self, from_collection, to_collection):
- self.pool.apply(magicDirTest_MoveFileFromCollection, (self.mounttmp, from_collection.manifest_locator(),
- to_collection.manifest_locator(), 'stream0', 'file0.txt',))
- from_collection.update()
- to_collection.update()
-
- @profiled
- def magicDirTest_removeFileFromCollection(self, collection):
- self.pool.apply(magicDirTest_RemoveFileFromCollection, (self.mounttmp, collection.manifest_locator(), 'stream0', 'file1.txt',))
- collection.update()
-