Commit 9155c2d5 authored by Jérome Perrin's avatar Jérome Perrin

printing 'OK' in tests confuses the test report generation



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11225 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c91b9b90
......@@ -207,7 +207,6 @@ return result
for cf_name in ('ram_cache_factory', 'distributed_ram_cache_factory', 'sql_cache_factory'):
my_cache = CachingMethod(py_script_obj, 'py_script_obj', cache_factory=cf_name)
self._cacheFactoryInstanceTest(my_cache, cf_name)
print "OK."
def test_06_CacheFactoryMultiPlugins(self, quiet=0, run=run_all_test):
""" Test a cache factory containing multiple cache plugins. """
......@@ -224,7 +223,6 @@ return result
cf_name = 'erp5_user_factory'
my_cache = CachingMethod(py_script_obj, 'py_script_obj', cache_factory=cf_name)
self._cacheFactoryInstanceTest(my_cache, cf_name)
print "OK."
def _cacheFactoryInstanceTest(self, my_cache, cf_name):
portal = self.getPortal()
......
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