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
8bd1fc97
Commit
8bd1fc97
authored
Sep 07, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: could reproduce problem with Base_viewDict and worklist view
parent
e8b1ec3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
bt5/erp5_workflow_test/TestTemplateItem/portal_components/test.erp5.testWorkflowAndDCWorkflow.py
.../portal_components/test.erp5.testWorkflowAndDCWorkflow.py
+9
-1
No files found.
bt5/erp5_workflow_test/TestTemplateItem/portal_components/test.erp5.testWorkflowAndDCWorkflow.py
View file @
8bd1fc97
...
@@ -214,7 +214,7 @@ class TestConvertedWorkflow(TestERP5WorkflowMixin):
...
@@ -214,7 +214,7 @@ class TestConvertedWorkflow(TestERP5WorkflowMixin):
self
.
resetComponentTool
()
self
.
resetComponentTool
()
self
.
login
()
self
.
login
()
def
test_permission
(
self
):
def
test_
13_
permission
(
self
):
"""
"""
test permission/role mapping on states (ERP5 Workflow only)
test permission/role mapping on states (ERP5 Workflow only)
# XXX(WORKFLOW) move this test to testERP5Workflow?
# XXX(WORKFLOW) move this test to testERP5Workflow?
...
@@ -272,6 +272,14 @@ class TestConvertedWorkflow(TestERP5WorkflowMixin):
...
@@ -272,6 +272,14 @@ class TestConvertedWorkflow(TestERP5WorkflowMixin):
workflow
.
updateRoleMappingsFor
(
text_document
)
workflow
.
updateRoleMappingsFor
(
text_document
)
self
.
assertEqual
(
getattr
(
text_document
,
permission_key
),
[
'Assignor'
])
self
.
assertEqual
(
getattr
(
text_document
,
permission_key
),
[
'Assignor'
])
def
test_14_testGuardsAreNotMessingUpBase_viewDict
(
self
):
# check Base_viewDict is available on workflow's transition
self
.
workflow
.
transition_delete_action
.
Base_viewDict
()
def
test_15_testWorklistViewIsAccessible
(
self
):
# check worklist view is available on workflow
self
.
workflow
.
worklist_1_draft_test_workflow_document_list
.
view
()
class
TestDCWorkflow
(
TestERP5WorkflowMixin
):
class
TestDCWorkflow
(
TestERP5WorkflowMixin
):
"""
"""
Check DC Workflow works correctly in new Workflow Tool.
Check DC Workflow works correctly in new Workflow Tool.
...
...
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