Example #1
0
 def test_liberation_finish(self):
     result_path = os.path.join(self.mail_dir, "result")
     open(result_path, "w").write("a test")
     tasks.liberation_finish(
         result_path, {
             "user": self.user.id,
             "path": self.mail_dir,
             "storage_type": "0",
             "compression_type": "0"
         })
Example #2
0
 def test_liberation_finish(self):
     result_path = os.path.join(self.mail_dir, "result")
     open(result_path, "w").write("a test")
     tasks.liberation_finish(result_path, {"user": self.user.id, "path": self.mail_dir,
                                           "storage_type": "0", "compression_type": "0"})