Commit a677e1e0 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: update Assignment local roles test

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