[Erp5-report] r45134 luke - /erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 6 16:23:07 CEST 2011
Author: luke
Date: Wed Apr 6 16:23:07 2011
New Revision: 45134
URL: http://svn.erp5.org?rev=45134&view=rev
Log:
- check that document with name same as property sheet is not being removed during migration
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=45134&r1=45133&r2=45134&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] Wed Apr 6 16:23:07 2011
@@ -7506,6 +7506,51 @@ class TestBusinessTemplate(ERP5TypeTestC
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
+ def test_BusinessTemplateWithPropertySheetMigrationWithDocument(self):
+ sequence_list = SequenceList()
+ sequence_string = '\
+ CreatePropertySheet \
+ CreateDocument \
+ CheckDocumentPropertySheetSameName \
+ CreateNewBusinessTemplate \
+ UseExportBusinessTemplate \
+ AddPropertySheetToBusinessTemplate \
+ AddDocumentToBusinessTemplate \
+ CheckModifiedBuildingState \
+ CheckNotInstalledInstallationState \
+ BuildBusinessTemplate \
+ CheckBuiltBuildingState \
+ CheckNotInstalledInstallationState \
+ CheckObjectPropertiesInBusinessTemplate \
+ SaveBusinessTemplate \
+ CheckBuiltBuildingState \
+ CheckNotInstalledInstallationState \
+ RemovePropertySheet \
+ RemoveDocument \
+ RemoveBusinessTemplate \
+ RemoveAllTrashBins \
+ ImportBusinessTemplate \
+ UseImportBusinessTemplate \
+ CheckBuiltBuildingState \
+ CheckNotInstalledInstallationState \
+ InstallBusinessTemplate \
+ Tic \
+ CheckInstalledInstallationState \
+ CheckBuiltBuildingState \
+ CheckNoTrashBin \
+ CheckSkinsLayers \
+ CheckPropertySheetMigration \
+ CheckPropertySheetRemoved \
+ CheckDocumentExists \
+ UninstallBusinessTemplate \
+ CheckBuiltBuildingState \
+ CheckNotInstalledInstallationState \
+ CheckMigratedPropertySheetRemoved \
+ CheckDocumentRemoved \
+ '
+ sequence_list.addSequenceString(sequence_string)
+ sequence_list.play(self)
+
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestBusinessTemplate))
More information about the Erp5-report
mailing list