Commit 667d004e authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove output document when the test finish

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@38597 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8d441851
......@@ -27,7 +27,8 @@
##############################################################################
import unittest
from os.path import join
from os.path import join, exists
from os import remove
from subprocess import Popen, PIPE
from xmlrpclib import ServerProxy, Fault
from base64 import encodestring, decodestring
......@@ -439,6 +440,8 @@ class TestServer(cloudoooTestCase):
break
else:
self.fail("Not exists one file with 'impr.html' format")
if exists(output_url):
remove(output_url)
def testRunGenerateMethodConvertOdpToHTML(self):
"""Test run_generate method. This test is to validate a bug convertions to
......
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