Commit 650487fb authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: update Assignment local roles test

parent 32cc66e0
......@@ -97,8 +97,8 @@ class TestAssignment(TestSlapOSGroupRoleSecurityMixin):
portal_type='Person').newContent(portal_type='Assignment')
assignment.updateLocalRolesOnSecurityGroups()
self.assertSecurityGroup(assignment,
['G-COMPANY', self.user_id], False)
self.assertRoles(assignment, 'G-COMPANY', ['Auditor', 'Assignor'])
['F-IS*', self.user_id], False)
self.assertRoles(assignment, 'F-IS*', ['Auditor'])
self.assertRoles(assignment, self.user_id, ['Owner'])
class TestComputeNode(TestSlapOSGroupRoleSecurityMixin):
......
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