Commit 6c6bd9d3 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: test: typo

parent c30e558f
......@@ -22,6 +22,7 @@
##############################################################################
from erp5.component.test.SlapOSTestCaseMixin import SlapOSTestCaseMixinWithAbort
from AccessControl import getSecurityManager
import transaction
class TestSlapOSGroupRoleSecurityCoverage(SlapOSTestCaseMixinWithAbort):
maxDiff = None
......@@ -1346,6 +1347,8 @@ class TestProject(TestSlapOSGroupRoleSecurityMixin):
def test_Project_default(self):
project = self.portal.project_module.newContent(
portal_type='Project')
# Local roles are recalculated at the end of the transaction
transaction.commit()
self.assertSecurityGroup(project,
['F-SALEAGT', 'F-SALEMAN', 'F-ACCOUNTING*',
project.getReference(), self.user_id], False)
......
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