[Erp5-report] r7548 - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 31 09:38:17 CEST 2006


Author: aurel
Date: Wed May 31 09:38:15 2006
New Revision: 7548

URL: http://svn.erp5.org?rev=7548&view=rev
Log:
fix invalid syntax

Modified:
    erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

Modified: erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py?rev=7548&r1=7547&r2=7548&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py Wed May 31 09:38:15 2006
@@ -297,7 +297,7 @@
     self.variation_base_category = getattr(self.category_tool, 'variation')
     # add the category 1992 in variation
     self.variation_1992 = self.variation_base_category.newContent(id='1992', portal_type='Category')
-   # add the category 2003 in varitation
+    # add the category 2003 in varitation
     self.variation_2003 = self.variation_base_category.newContent(id='2003', portal_type='Category')
 
     # Create Resources Document (Banknotes & Coins)
@@ -588,8 +588,8 @@
     Create a cash inventory group
     """
     # we need to have a unique inventory group id by destination
-    inventory_group_id = 'inventory_group_%s_%s' %
-                      (destination.getParentValue().getId(),destination.getId())
+    inventory_group_id = 'inventory_group_%s_%s' % \
+                         (destination.getParentValue().getId(),destination.getId())
     if not hasattr(self, inventory_group_id):
       inventory_group =  self.cash_inventory_module.newContent(id=inventory_group_id,
                                                                portal_type='Cash Inventory Group',




More information about the Erp5-report mailing list