[Erp5-report] r11225 - /erp5/trunk/products/ERP5Type/tests/testCacheTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 9 13:25:40 CET 2006


Author: jerome
Date: Thu Nov  9 13:25:35 2006
New Revision: 11225

URL: http://svn.erp5.org?rev=11225&view=rev
Log:
printing 'OK' in tests confuses the test report generation


Modified:
    erp5/trunk/products/ERP5Type/tests/testCacheTool.py

Modified: erp5/trunk/products/ERP5Type/tests/testCacheTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testCacheTool.py?rev=11225&r1=11224&r2=11225&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testCacheTool.py (original)
+++ erp5/trunk/products/ERP5Type/tests/testCacheTool.py Thu Nov  9 13:25:35 2006
@@ -207,7 +207,6 @@
       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 @@
       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()




More information about the Erp5-report mailing list