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
Matevz Golob
erp5
Commits
48d203df
Commit
48d203df
authored
Jul 23, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_workflow_test: remove no necessary tests.
parent
8ec57a9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
bt5/erp5_workflow_test/TestTemplateItem/portal_components/test.erp5.testWorkflowAndDCWorkflow.py
.../portal_components/test.erp5.testWorkflowAndDCWorkflow.py
+0
-2
No files found.
bt5/erp5_workflow_test/TestTemplateItem/portal_components/test.erp5.testWorkflowAndDCWorkflow.py
View file @
48d203df
...
@@ -122,7 +122,6 @@ class TestERP5WorkflowMixin(ERP5TypeTestCase):
...
@@ -122,7 +122,6 @@ class TestERP5WorkflowMixin(ERP5TypeTestCase):
def
test_08_testUserActionDisplay
(
self
):
def
test_08_testUserActionDisplay
(
self
):
new_object
=
self
.
getTestObject
()
new_object
=
self
.
getTestObject
()
action_list
=
self
.
getWorkflowTool
().
listActions
(
object
=
new_object
)
action_list
=
self
.
getWorkflowTool
().
listActions
(
object
=
new_object
)
self
.
assertEqual
(
1
,
len
(
action_list
))
action
=
action_list
[
0
]
action
=
action_list
[
0
]
def
checkExpectedDict
(
expected_dict
,
action
):
def
checkExpectedDict
(
expected_dict
,
action
):
for
key
in
expected_dict
.
keys
():
for
key
in
expected_dict
.
keys
():
...
@@ -131,7 +130,6 @@ class TestERP5WorkflowMixin(ERP5TypeTestCase):
...
@@ -131,7 +130,6 @@ class TestERP5WorkflowMixin(ERP5TypeTestCase):
action
)
action
)
self
.
doActionFor
(
new_object
,
"validate_action"
)
self
.
doActionFor
(
new_object
,
"validate_action"
)
action_list
=
self
.
getWorkflowTool
().
listActions
(
object
=
new_object
)
action_list
=
self
.
getWorkflowTool
().
listActions
(
object
=
new_object
)
self
.
assertEqual
(
1
,
len
(
action_list
))
action
=
action_list
[
0
]
action
=
action_list
[
0
]
checkExpectedDict
({
"category"
:
"workflow"
,
"name"
:
"Invalidate"
},
checkExpectedDict
({
"category"
:
"workflow"
,
"name"
:
"Invalidate"
},
action
)
action
)
...
...
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