[Erp5-report] r33206 kazuhiko - /erp5/trunk/products/ERP5/tests/testAccountingRules.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 2 04:31:29 CET 2010


Author: kazuhiko
Date: Tue Mar  2 04:31:26 2010
New Revision: 33206

URL: http://svn.erp5.org?rev=33206&view=rev
Log:
follow the change in r33163.

Modified:
    erp5/trunk/products/ERP5/tests/testAccountingRules.py

Modified: erp5/trunk/products/ERP5/tests/testAccountingRules.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccountingRules.py?rev=33206&r1=33205&r2=33206&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccountingRules.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testAccountingRules.py [utf8] Tue Mar  2 04:31:26 2010
@@ -196,7 +196,7 @@
       Create some predicates in the Invoice Transaction Rule
     """
     invoice_transaction_rule = getattr(self.getRuleTool(),
-            'default_invoice_transaction_rule')
+            'default_invoice_transaction_simulation_rule')
     if invoice_transaction_rule.getValidationState() == 'validated':
       invoice_transaction_rule.invalidate()
       transaction.commit()
@@ -1134,7 +1134,7 @@
     # ...but only invoice_transaction_rule is interesting
     applied_rule = [applied_rule for applied_rule in applied_rule_list if
       applied_rule.getSpecialiseValue().getPortalType() ==
-      'Invoice Transaction Rule'][0]
+      'Invoice Transaction Simulation Rule'][0]
     self.assertEquals( applied_rule.getPortalType(),
                       self.applied_rule_portal_type)
     self.assertEquals( applied_rule.getSpecialise(),




More information about the Erp5-report mailing list