Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
erp5
Commits
b5902e8c
Commit
b5902e8c
authored
Jul 18, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: change testSecurity to be able to run on ERP5 Workflow
parent
ccf2d492
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/tests/testSecurity.py
product/ERP5/tests/testSecurity.py
+2
-2
No files found.
product/ERP5/tests/testSecurity.py
View file @
b5902e8c
...
...
@@ -115,9 +115,9 @@ class TestSecurityMixin(ERP5TypeTestCase):
"""
error_list
=
[]
for
wf
in
self
.
portal
.
portal_workflow
.
objectValues
():
if
wf
.
__class__
.
__name__
==
'InteractionWorkflowDefinition'
:
if
wf
.
__class__
.
__name__
in
[
'InteractionWorkflowDefinition'
,
'Interaction Workflow'
]:
# XXX why?
continue
for
transition
in
wf
.
transitions
.
objectValues
():
for
transition
in
wf
.
getTransitionValueList
():
if
getattr
(
transition
,
'trigger_type'
,
1
)
==
0
:
# Automatic transition without guard is safe
continue
...
...
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