Commit 260ac263 authored by Aurel's avatar Aurel

fix invalid syntax


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7548 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d90af42c
......@@ -297,7 +297,7 @@ class TestERP5BankingMixin:
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 @@ class TestERP5BankingMixin:
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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment