Commit 1abd03a4 authored by Rafael Monnerat's avatar Rafael Monnerat

Check if Folder_reindexAll Activities are created after use update_catalog=1.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36111 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6eeb2831
...@@ -2644,6 +2644,15 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -2644,6 +2644,15 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
and m.kw.get('uid') is not None ] and m.kw.get('uid') is not None ]
self.assertEquals(len(message_list), 0) 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): def stepCheckPathNotUnindexAfterBuild(self, sequence=None, sequence_list=None, **kw):
""" """
Check that after a build, not unindex has been done Check that after a build, not unindex has been done
...@@ -3078,6 +3087,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -3078,6 +3087,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
CheckBuiltBuildingState \ CheckBuiltBuildingState \
CheckNotInstalledInstallationState \ CheckNotInstalledInstallationState \
InstallWithoutForceBusinessTemplate \ InstallWithoutForceBusinessTemplate \
CheckFolderReindexActivityPresence \
Tic \ Tic \
CheckInstalledInstallationState \ CheckInstalledInstallationState \
CheckBuiltBuildingState \ CheckBuiltBuildingState \
...@@ -3861,7 +3871,9 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -3861,7 +3871,9 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
CheckNotInstalledInstallationState \ CheckNotInstalledInstallationState \
CheckPreinstallReturnSomething \ CheckPreinstallReturnSomething \
CheckCatalogPreinstallReturnCatalogMethod \ CheckCatalogPreinstallReturnCatalogMethod \
Tic \
InstallWithoutForceBusinessTemplate \ InstallWithoutForceBusinessTemplate \
CheckFolderReindexActivityPresence \
Tic \ Tic \
CheckInstalledInstallationState \ CheckInstalledInstallationState \
CheckBuiltBuildingState \ CheckBuiltBuildingState \
...@@ -5208,6 +5220,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -5208,6 +5220,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
ImportBusinessTemplate \ ImportBusinessTemplate \
UseImportBusinessTemplate \ UseImportBusinessTemplate \
InstallWithoutForceBusinessTemplate \ InstallWithoutForceBusinessTemplate \
CheckFolderReindexActivityPresence \
Tic \ Tic \
\ \
CheckFormGroups \ CheckFormGroups \
...@@ -5221,7 +5234,9 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -5221,7 +5234,9 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
\ \
ImportBusinessTemplate \ ImportBusinessTemplate \
UseImportBusinessTemplate \ UseImportBusinessTemplate \
Tic \
InstallWithoutForceBusinessTemplate \ InstallWithoutForceBusinessTemplate \
CheckFolderReindexActivityPresence \
Tic \ Tic \
\ \
CheckFormGroups \ CheckFormGroups \
......
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