[Erp5-report] r36111 rafael - /erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 8 20:29:49 CEST 2010
Author: rafael
Date: Tue Jun 8 20:29:49 2010
New Revision: 36111
URL: http://svn.erp5.org?rev=36111&view=rev
Log:
Check if Folder_reindexAll Activities are created after use update_catalog=1.
Modified:
erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
Modified: erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBusinessTemplate.py?rev=36111&r1=36110&r2=36111&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] Tue Jun 8 20:29:49 2010
@@ -2644,6 +2644,15 @@
and m.kw.get('uid') is not None ]
self.assertEquals(len(message_list), 0)
+ def stepCheckFolderReindexActivityPresence(self, sequence=None, sequence_list=None, **kw):
+ """
+ Check if we have activity for Folder_reindexAll.
+ """
+ message_list = [ m for m in self.portal.portal_activities.getMessageList()
+ if m.method_id == 'Folder_reindexAll']
+ self.assertNotEquals(len(message_list), 0)
+
+
def stepCheckPathNotUnindexAfterBuild(self, sequence=None, sequence_list=None, **kw):
"""
Check that after a build, not unindex has been done
@@ -3078,6 +3087,7 @@
CheckBuiltBuildingState \
CheckNotInstalledInstallationState \
InstallWithoutForceBusinessTemplate \
+ CheckFolderReindexActivityPresence \
Tic \
CheckInstalledInstallationState \
CheckBuiltBuildingState \
@@ -3861,7 +3871,9 @@
CheckNotInstalledInstallationState \
CheckPreinstallReturnSomething \
CheckCatalogPreinstallReturnCatalogMethod \
+ Tic \
InstallWithoutForceBusinessTemplate \
+ CheckFolderReindexActivityPresence \
Tic \
CheckInstalledInstallationState \
CheckBuiltBuildingState \
@@ -5208,6 +5220,7 @@
ImportBusinessTemplate \
UseImportBusinessTemplate \
InstallWithoutForceBusinessTemplate \
+ CheckFolderReindexActivityPresence \
Tic \
\
CheckFormGroups \
@@ -5221,7 +5234,9 @@
\
ImportBusinessTemplate \
UseImportBusinessTemplate \
+ Tic \
InstallWithoutForceBusinessTemplate \
+ CheckFolderReindexActivityPresence \
Tic \
\
CheckFormGroups \
More information about the Erp5-report
mailing list