Commit 3e91b4b0 authored by Benjamin Blanc's avatar Benjamin Blanc

bootstrap_erp5: add scalability users creation

parent 930db582
......@@ -117,4 +117,20 @@ if scalability:
print result.read()
# Wait activities
waitFor0PendingActivities()
print "Scalability business configuration building: done."
\ No newline at end of file
print "Scalability business configuration building: done."
# Create scalability users
if testIfExist("/%%s/person_module/scalability_user/getTitle" %%site_id) \
and not testIfExist("/%%s/person_module/scalability_user_0/getTitle" %%site_id):
zope_connection = getConnection()
zope_connection.request(
'GET', '/%%s/clone_scalability_user' %%site_id,
headers=header_dict
)
result = zope_connection.getresponse()
print "Creating scalaiblity users..."
assert(result.read()=="1")
# Wait activities
waitFor0PendingActivities()
print "Scalability users creation: done."
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