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
2e31fb57
Commit
2e31fb57
authored
Aug 19, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: wip on unit test
parent
349671d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
product/ERP5Workflow/tests/testERP5Workflow.py
product/ERP5Workflow/tests/testERP5Workflow.py
+9
-0
No files found.
product/ERP5Workflow/tests/testERP5Workflow.py
View file @
2e31fb57
...
...
@@ -233,6 +233,15 @@ class TestERP5Workflow(ERP5TypeTestCase):
def
test_InteractionGuards
(
self
):
self
.
test_TransitionGuards
(
transition_type
=
'Interaction'
)
def
test_Base_viewDict
(
self
):
workflow
=
self
.
workflow_module
.
newContent
(
portal_type
=
'Workflow'
)
transition
=
workflow
.
newContent
(
portal_type
=
'Transition'
)
self
.
commit
()
self
.
logMessage
http_response
=
self
.
publish
(
transition
.
getPath
()
+
'/Base_viewDict'
)
self
.
logMessage
(
'path: '
+
transition
.
getPath
()
+
'/Base_viewDict'
)
self
.
assertEqual
(
http_response
.
status
,
200
)
def
test_WorkflowSecurity
(
self
):
"""
Test workflow security. Should be test with other methods. To be finished.
...
...
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