Commit bb00e83e authored by Nicolas Delaby's avatar Nicolas Delaby

remove useless lines

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28597 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e3c9c080
......@@ -266,7 +266,6 @@ class TestDocumentConversionCache(ERP5TypeTestCase, ZopeTestCase.Functional):
#Test Conversion Cache
for format in format_list:
document.convert(format=format)
transaction.commit()
self.assertTrue(document.hasConversion(format=format), 'Cache Storage failed for %s' % (format))
self.assertTrue(document.getConversionSize(format=format))
document.clearConversionCache()
......@@ -280,7 +279,6 @@ class TestDocumentConversionCache(ERP5TypeTestCase, ZopeTestCase.Functional):
#Test Conversion Cache after clearConversionCache
for format in format_list:
document.convert(format=format)
transaction.commit()
self.assertTrue(document.hasConversion(format=format), 'Cache Storage failed for %s' % (format))
self.assertTrue(document.getConversionSize(format=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