Commit bcabf766 authored by Vincent Pelletier's avatar Vincent Pelletier

Organisations are now automaticaly created, so just fetch them.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29111 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0564a7a8
No related merge requests found
......@@ -185,20 +185,9 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase)
# in order to have an assigment defined which is used to do transition
# Create an Organisation that will be used for users assignment
self.checkUserFolderType()
self.organisation = self.organisation_module.newContent(id='site_P10', portal_type='Organisation',
function='banking', group='baobab',
site='testsite/paris',
region='france')
self.organisation_externe = self.organisation_module.newContent(id='site_S10', portal_type='Organisation',
function='banking', group='baobab',
site='testsite/madrid',
region='spain')
self.organisation_auxiliaire = self.organisation_module.newContent(id='site_P11', portal_type='Organisation',
function='banking', group='baobab',
site='testsite/auxiliaire/lyon',
region='france')
self.organisation = self.organisation_module['site_P10']
self.organisation_externe = self.organisation_module['site_S10']
self.organisation_auxiliaire = self.organisation_module['site_P11']
# define the user
user_dict = {
......
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