Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
6c6bd9d3
Commit
6c6bd9d3
authored
Oct 31, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: test: typo
parent
c30e558f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5GroupRoleSecurity.py
...l_components/test.erp5.testSlapOSERP5GroupRoleSecurity.py
+3
-0
No files found.
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5GroupRoleSecurity.py
View file @
6c6bd9d3
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
##############################################################################
##############################################################################
from
erp5.component.test.SlapOSTestCaseMixin
import
SlapOSTestCaseMixinWithAbort
from
erp5.component.test.SlapOSTestCaseMixin
import
SlapOSTestCaseMixinWithAbort
from
AccessControl
import
getSecurityManager
from
AccessControl
import
getSecurityManager
import
transaction
class
TestSlapOSGroupRoleSecurityCoverage
(
SlapOSTestCaseMixinWithAbort
):
class
TestSlapOSGroupRoleSecurityCoverage
(
SlapOSTestCaseMixinWithAbort
):
maxDiff
=
None
maxDiff
=
None
...
@@ -1346,6 +1347,8 @@ class TestProject(TestSlapOSGroupRoleSecurityMixin):
...
@@ -1346,6 +1347,8 @@ class TestProject(TestSlapOSGroupRoleSecurityMixin):
def
test_Project_default
(
self
):
def
test_Project_default
(
self
):
project
=
self
.
portal
.
project_module
.
newContent
(
project
=
self
.
portal
.
project_module
.
newContent
(
portal_type
=
'Project'
)
portal_type
=
'Project'
)
# Local roles are recalculated at the end of the transaction
transaction
.
commit
()
self
.
assertSecurityGroup
(
project
,
self
.
assertSecurityGroup
(
project
,
[
'F-SALEAGT'
,
'F-SALEMAN'
,
'F-ACCOUNTING*'
,
[
'F-SALEAGT'
,
'F-SALEMAN'
,
'F-ACCOUNTING*'
,
project
.
getReference
(),
self
.
user_id
],
False
)
project
.
getReference
(),
self
.
user_id
],
False
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment