Commit 2ba08c68 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Fix missed updated test.

parent 9c27603f
...@@ -193,7 +193,7 @@ class TestComputerNetwork(TestSlapOSGroupRoleSecurityMixin): ...@@ -193,7 +193,7 @@ class TestComputerNetwork(TestSlapOSGroupRoleSecurityMixin):
['G-COMPANY', 'R-SHADOW-PERSON', self.user_id], False) ['G-COMPANY', 'R-SHADOW-PERSON', self.user_id], False)
self.assertRoles(network, 'G-COMPANY', ['Assignor']) self.assertRoles(network, 'G-COMPANY', ['Assignor'])
self.assertRoles(network, 'R-SHADOW-PERSON', ['Auditor']) self.assertRoles(network, 'R-SHADOW-PERSON', ['Auditor'])
self.assertRoles(network, self.user_id, ['Owner']) self.assertRoles(network, self.user_id, ['Assignee', 'Owner'])
test_PersonShadow = test_GroupCompany test_PersonShadow = test_GroupCompany
...@@ -208,7 +208,7 @@ class TestComputerNetwork(TestSlapOSGroupRoleSecurityMixin): ...@@ -208,7 +208,7 @@ class TestComputerNetwork(TestSlapOSGroupRoleSecurityMixin):
self.assertSecurityGroup(network, self.assertSecurityGroup(network,
['G-COMPANY', 'R-SHADOW-PERSON', self.user_id, person.getUserId()], False) ['G-COMPANY', 'R-SHADOW-PERSON', self.user_id, person.getUserId()], False)
self.assertRoles(network, person.getUserId(), ['Assignee']) self.assertRoles(network, person.getUserId(), ['Assignee'])
self.assertRoles(network, self.user_id, ['Owner']) self.assertRoles(network, self.user_id, ['Assignee', 'Owner'])
class TestComputerNetworkModule(TestSlapOSGroupRoleSecurityMixin): class TestComputerNetworkModule(TestSlapOSGroupRoleSecurityMixin):
def test(self): def test(self):
......
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