Commit f313b819 authored by Aurel's avatar Aurel

define site, function and group category explicitely when creating person


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7429 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 65821ecb
......@@ -100,9 +100,9 @@ class TestERP5BankingMixin:
# Create the Assignment.
assignment = person.newContent( portal_type = 'Assignment'
, destination_value = user_data[1]
, function = user_data[2]
, group = user_data[3]
, site = user_data[4]
, function = "function/%s" %user_data[2]
, group = "group/%s" %user_data[3]
, site = "site/%s" %user_data[4]
, start_date = '01/01/1900'
, stop_date = '01/01/2900'
)
......
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