[Erp5-report] r43540 priscila.manhaes - /erp5/trunk/utils/cloudooo/cloudooo/handler/ffmpeg/...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 21 23:43:00 CET 2011


Author: priscila.manhaes
Date: Mon Feb 21 23:43:00 2011
New Revision: 43540

URL: http://svn.erp5.org?rev=43540&view=rev
Log:
using 'self.tmp_url' instead of the real path for not leaving trash after tests

Modified:
    erp5/trunk/utils/cloudooo/cloudooo/handler/ffmpeg/tests/testFFMPEGHandler.py

Modified: erp5/trunk/utils/cloudooo/cloudooo/handler/ffmpeg/tests/testFFMPEGHandler.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/handler/ffmpeg/tests/testFFMPEGHandler.py?rev=43540&r1=43539&r2=43540&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/handler/ffmpeg/tests/testFFMPEGHandler.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/handler/ffmpeg/tests/testFFMPEGHandler.py [utf8] Mon Feb 21 23:43:00 2011
@@ -34,9 +34,9 @@ from cloudooo.handler.tests.handlerTestC
 
 class TestFFMPEGHandler(HandlerTestCase):
 
-  def setUp(self):
+  def afterSetUp(self):
     self.data = open("./data/test.3gp").read()
-    self.input = FFMPEGHandler("./data", self.data, "3gp")
+    self.input = FFMPEGHandler(self.tmp_url, self.data, "3gp")
 
   def testConvertVideo(self):
     """Test coversion of video to another format"""



More information about the Erp5-report mailing list