[Erp5-report] r45177 leonardo - /erp5/trunk/products/ERP5Legacy/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 7 15:00:34 CEST 2011
Author: leonardo
Date: Thu Apr 7 15:00:33 2011
New Revision: 45177
URL: http://svn.erp5.org?rev=45177&view=rev
Log:
fix incomplete test setup for testLegacyDivergenceTester
Modified:
erp5/trunk/products/ERP5Legacy/tests/testLegacyDivergenceTester.py
Modified: erp5/trunk/products/ERP5Legacy/tests/testLegacyDivergenceTester.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Legacy/tests/testLegacyDivergenceTester.py?rev=45177&r1=45176&r2=45177&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Legacy/tests/testLegacyDivergenceTester.py [utf8] (original)
+++ erp5/trunk/products/ERP5Legacy/tests/testLegacyDivergenceTester.py [utf8] Thu Apr 7 15:00:33 2011
@@ -65,6 +65,11 @@ class TestDivergenceTester(testLegacySim
"""
self.logMessage("Bootstrap the site by creating required " \
"order, simulation, ...")
+ # These next calls were originally in TestOrderMixin.afterSetUp(), but we need
+ # them here for the bootstrap Sequence to work correctly
+ self.createCategories()
+ self.validateRules()
+ self.setUpPreferences()
# Create a clean packing list
sequence_string = ' \
stepCreateOrganisation1 \
More information about the Erp5-report
mailing list