[Erp5-report] r33455 kazuhiko - /erp5/trunk/products/ERP5/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 5 16:17:32 CET 2010


Author: kazuhiko
Date: Fri Mar  5 16:17:30 2010
New Revision: 33455

URL: http://svn.erp5.org?rev=33455&view=rev
Log:
rename simulation rules.

Modified:
    erp5/trunk/products/ERP5/tests/testBPMCore.py
    erp5/trunk/products/ERP5/tests/testERP5SimulationBPMCore.py

Modified: erp5/trunk/products/ERP5/tests/testBPMCore.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBPMCore.py?rev=33455&r1=33454&r2=33455&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBPMCore.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBPMCore.py [utf8] Fri Mar  5 16:17:30 2010
@@ -131,8 +131,8 @@
     itr = self.portal.portal_rules.newContent(
                         portal_type='Invoice Transaction Simulation Rule',
                         reference='default_invoice_transaction_rule',
-                        id='test_invoice_transaction_rule',
-                        title='Transaction Rule',
+                        id='test_invoice_transaction_simulation_rule',
+                        title='Transaction Simulation Rule',
                         test_method_id=
                         'SimulationMovement_testInvoiceTransactionSimulationRule',
                         version=100)
@@ -218,7 +218,7 @@
           'delete from %s where processing_node=-2' % table)
     # remove not needed rules
     self.portal.portal_rules.manage_delObjects(
-        ids=['test_invoice_transaction_rule'])
+        ids=['test_invoice_transaction_simulation_rule'])
     self.stepTic()
 
 class TestBPMImplementation(TestBPMMixin):

Modified: erp5/trunk/products/ERP5/tests/testERP5SimulationBPMCore.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5SimulationBPMCore.py?rev=33455&r1=33454&r2=33455&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5SimulationBPMCore.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5SimulationBPMCore.py [utf8] Fri Mar  5 16:17:30 2010
@@ -49,12 +49,12 @@
         'asset/receivable/refundable_vat')
 
     itr = self.portal.portal_rules.newContent(
-                        portal_type='Invoice Transaction Rule',
+                        portal_type='Invoice Transaction Simulation Rule',
                         reference='default_invoice_transaction_rule',
-                        id='test_invoice_transaction_rule',
-                        title='Transaction Rule',
+                        id='test_invoice_transaction_simulation_rule',
+                        title='Transaction Simulation Rule',
                         test_method_id=
-                        'SimulationMovement_testInvoiceTransactionRule',
+                        'SimulationMovement_testInvoiceTransactionSimulationRule',
                         version=100)
     # matching provider for source and destination
     for category in ('resource', 'source', 'destination',




More information about the Erp5-report mailing list