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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Papa Tamsir Kane
erp5
Commits
70a8f5c3
Commit
70a8f5c3
authored
Aug 30, 2017
by
Papa Tamsir Kane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_curation_request: Add unit test class
parent
1ee6d425
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
bt5/erp5_curation_request/TestTemplateItem/portal_components/test.erp5.testCurationRequest.py
...teItem/portal_components/test.erp5.testCurationRequest.py
+2
-2
bt5/erp5_curation_request/bt/template_test_id_list
bt5/erp5_curation_request/bt/template_test_id_list
+1
-0
No files found.
bt5/erp5_curation_request/TestTemplateItem/portal_components/test.erp5.testCurationRequest.py
View file @
70a8f5c3
...
...
@@ -27,7 +27,7 @@
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
class
Test
(
ERP5TypeTestCase
):
class
Test
CurationRequest
(
ERP5TypeTestCase
):
"""
Test Curation Request
"""
...
...
@@ -108,7 +108,7 @@ class Test(ERP5TypeTestCase):
self
.
_get_decisions_and_schedule_deletion
(
curation_request
,
self
.
objects_to_delete
)
return
(
curation_request
,
curated
)
def
test_03_curation_request_validation_publishes_curated_objects
(
self
):
def
test_03_curation_request_
l
validation_publishes_curated_objects
(
self
):
curation_request
,
curated
=
self
.
_create_curation_request_awaiting_validation
()
curation_request
.
validate
()
self
.
assertEqual
(
curation_request
.
getSimulationState
(),
'validated'
)
...
...
bt5/erp5_curation_request/bt/template_test_id_list
0 → 100644
View file @
70a8f5c3
test.erp5.testCurationRequest
\ No newline at end of file
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