Commit 300422d5 authored by Priscila Manhaes's avatar Priscila Manhaes

using 'self.tmp_url' instead of the real path for not leaving trash after tests

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@43540 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 557bd836
......@@ -34,9 +34,9 @@ from cloudooo.handler.tests.handlerTestCase import HandlerTestCase
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"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment