[Erp5-report] r36652 kazuhiko - /erp5/trunk/products/ERP5/tests/testERP5Simulation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 28 20:47:52 CEST 2010
Author: kazuhiko
Date: Mon Jun 28 20:47:50 2010
New Revision: 36652
URL: http://svn.erp5.org?rev=36652&view=rev
Log:
* commit transaction in beforeTearDown()
* clear cache after adding target solver portal type.
Modified:
erp5/trunk/products/ERP5/tests/testERP5Simulation.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Simulation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Simulation.py?rev=36652&r1=36651&r2=36652&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] Mon Jun 28 20:47:50 2010
@@ -601,6 +601,8 @@ class TestAutomaticSolvingPackingList(Te
solver_process_type_info = self.portal.portal_types['Solver Process']
solver_process_type_info.setTypeAllowedContentTypeList(self.original_allowed_content_types)
self.portal.portal_solvers.manage_delObjects(self.added_target_solver_list)
+ transaction.commit()
+ self.tic()
TestERP5SimulationMixin.beforeTearDown(self)
@UnrestrictedMethod
@@ -626,6 +628,7 @@ class TestAutomaticSolvingPackingList(Te
chain_dict['chain_%s' % solver_id] = 'solver_workflow'
self.portal.portal_workflow.manage_changeWorkflows(default_chain,
props=chain_dict)
+ self.portal.portal_caches.clearAllCache()
self.added_target_solver_list.append(solver_id)
def stepSetUpAutomaticQuantityAcceptSolver(self, sequence=None, sequence_list=None):
More information about the Erp5-report
mailing list