Commit 8359a7d9 authored by Łukasz Nowak's avatar Łukasz Nowak

- put common checks in common sequence


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45160 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 07418650
...@@ -7398,6 +7398,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -7398,6 +7398,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
os.path.basename(sequence['ps_path'])) os.path.basename(sequence['ps_path']))
save_current_business_template_sequence_string = '\ save_current_business_template_sequence_string = '\
CheckNotInstalledInstallationState \
BuildBusinessTemplate \ BuildBusinessTemplate \
CheckBuiltBuildingState \ CheckBuiltBuildingState \
CheckNotInstalledInstallationState \ CheckNotInstalledInstallationState \
...@@ -7456,7 +7457,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -7456,7 +7457,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
AddDocumentToBusinessTemplate \ AddDocumentToBusinessTemplate \
AddPropertySheetToBusinessTemplate \ AddPropertySheetToBusinessTemplate \
CheckModifiedBuildingState \ CheckModifiedBuildingState \
CheckNotInstalledInstallationState \
' + self.save_current_business_template_sequence_string + '\ ' + self.save_current_business_template_sequence_string + '\
RemoveDocument \ RemoveDocument \
RemovePropertySheet \ RemovePropertySheet \
...@@ -7479,7 +7479,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -7479,7 +7479,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
\ \
RemovePropertySheetFromBusinessTemplate \ RemovePropertySheetFromBusinessTemplate \
CheckModifiedBuildingState \ CheckModifiedBuildingState \
CheckNotInstalledInstallationState \
' + self.save_current_business_template_sequence_string + '\ ' + self.save_current_business_template_sequence_string + '\
ImportBusinessTemplate \ ImportBusinessTemplate \
UseImportBusinessTemplate \ UseImportBusinessTemplate \
...@@ -7507,7 +7506,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -7507,7 +7506,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
AddPropertySheetToBusinessTemplate \ AddPropertySheetToBusinessTemplate \
AddDocumentToBusinessTemplate \ AddDocumentToBusinessTemplate \
CheckModifiedBuildingState \ CheckModifiedBuildingState \
CheckNotInstalledInstallationState \
' + self.save_current_business_template_sequence_string + '\ ' + self.save_current_business_template_sequence_string + '\
RemovePropertySheet \ RemovePropertySheet \
RemoveDocument \ RemoveDocument \
...@@ -7574,7 +7572,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -7574,7 +7572,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
AddDocumentToBusinessTemplate \ AddDocumentToBusinessTemplate \
AddPropertySheetToBusinessTemplate \ AddPropertySheetToBusinessTemplate \
CheckModifiedBuildingState \ CheckModifiedBuildingState \
CheckNotInstalledInstallationState \
' + self.save_current_business_template_sequence_string + '\ ' + self.save_current_business_template_sequence_string + '\
RemoveDocument \ RemoveDocument \
RemovePropertySheet \ RemovePropertySheet \
...@@ -7601,7 +7598,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -7601,7 +7598,6 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
CheckPropertySheetMigration \ CheckPropertySheetMigration \
\ \
CheckDraftBuildingState \ CheckDraftBuildingState \
CheckNotInstalledInstallationState \
' + self.save_current_business_template_sequence_string + '\ ' + self.save_current_business_template_sequence_string + '\
RemoveBusinessTemplate \ RemoveBusinessTemplate \
Tic \ Tic \
......
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