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
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
alecs_myu
erp5
Commits
e0114c76
Commit
e0114c76
authored
Jul 10, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_workflow_test_data: in live test, clean document module before test.
parent
6c843d8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
bt5/erp5_workflow_test_data/TestTemplateItem/portal_components/test.erp5.testWorkflowAndDCWorkflow.py
.../portal_components/test.erp5.testWorkflowAndDCWorkflow.py
+4
-0
No files found.
bt5/erp5_workflow_test_data/TestTemplateItem/portal_components/test.erp5.testWorkflowAndDCWorkflow.py
View file @
e0114c76
...
...
@@ -192,6 +192,8 @@ class TestConvertedWorkflow(TestERP5WorkflowMixin):
"""
def
afterSetUp
(
self
):
self
.
portal
=
self
.
getPortal
()
module
=
self
.
portal
.
erp5workflow_test_module
module
.
manage_delObjects
(
list
(
module
.
objectIds
()))
workflow_module
=
self
.
portal
.
portal_workflow
type_test_object
=
self
.
portal
.
portal_types
[
'ERP5Workflow Test Document'
]
dc_workflow_id_list
=
[
'testing_workflow'
,
'testing_interaction_workflow'
]
...
...
@@ -207,6 +209,8 @@ class TestDCWorkflow(TestERP5WorkflowMixin):
"""
def
afterSetUp
(
self
):
self
.
portal
=
self
.
getPortal
()
module
=
self
.
portal
.
erp5workflow_test_module
module
.
manage_delObjects
(
list
(
module
.
objectIds
()))
workflow_module
=
self
.
portal
.
portal_workflow
workflow_module
.
setChainForPortalTypes
([
'ERP5Workflow Test Document'
],
(
'testing_workflow'
,
'testing_interaction_workflow'
,
'edit_workflow'
,
))
type_test_object
=
self
.
portal
.
portal_types
[
'ERP5Workflow Test Document'
]
...
...
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