Commit 0a14d217 authored by Sebastien Robin's avatar Sebastien Robin

in the first level of the site category, we do not need to define the...

in the first level of the site category, we do not need to define the vault_type and the codification

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7673 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 51199a3f
...@@ -347,7 +347,7 @@ class TestERP5BankingMixin: ...@@ -347,7 +347,7 @@ class TestERP5BankingMixin:
# get the base category site # get the base category site
self.site_base_category = getattr(self.category_tool, 'site') self.site_base_category = getattr(self.category_tool, 'site')
# add the category testsite in the category site which hold vaults situated in the bank # add the category testsite in the category site which hold vaults situated in the bank
self.testsite = self.site_base_category.newContent(id='testsite', portal_type='Category', codification='TEST', vault_type='site') self.testsite = self.site_base_category.newContent(id='testsite', portal_type='Category')
self.paris = self.testsite.newContent(id='paris', portal_type='Category', codification='P1', vault_type='site') self.paris = self.testsite.newContent(id='paris', portal_type='Category', codification='P1', vault_type='site')
self.madrid = self.testsite.newContent(id='madrid', portal_type='Category', codification='S1', vault_type='site') self.madrid = self.testsite.newContent(id='madrid', portal_type='Category', codification='S1', vault_type='site')
......
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