[Erp5-report] r29864 - /erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 20 17:59:54 CEST 2009
Author: seb
Date: Tue Oct 20 17:59:52 2009
New Revision: 29864
URL: http://svn.erp5.org?rev=29864&view=rev
Log:
do not reindex RoleInformation and ActionInformation
in unit tests
Modified:
erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
Modified: erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py?rev=29864&r1=29863&r2=29864&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py [utf8] Tue Oct 20 17:59:52 2009
@@ -1077,6 +1077,13 @@
self._filepath = self.get_filepath()
PythonScript._makeFunction = _makeFunction
+ # Do not reindex portal types sub objects
+ # We will probably disable reindexing for other types later
+ from Products.ERP5Type.Document.RoleInformation import RoleInformation
+ RoleInformation.isIndexable = 0
+ from Products.ERP5Type.Document.ActionInformation import ActionInformation
+ ActionInformation.isIndexable = 0
+
optimize()
More information about the Erp5-report
mailing list