Commit 70a8f5c3 authored by Papa Tamsir Kane's avatar Papa Tamsir Kane

erp5_curation_request: Add unit test class

parent 1ee6d425
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
class Test(ERP5TypeTestCase): class TestCurationRequest(ERP5TypeTestCase):
""" """
Test Curation Request Test Curation Request
""" """
...@@ -108,7 +108,7 @@ class Test(ERP5TypeTestCase): ...@@ -108,7 +108,7 @@ class Test(ERP5TypeTestCase):
self._get_decisions_and_schedule_deletion(curation_request, self.objects_to_delete) self._get_decisions_and_schedule_deletion(curation_request, self.objects_to_delete)
return (curation_request, curated) return (curation_request, curated)
def test_03_curation_request_validation_publishes_curated_objects(self): def test_03_curation_request_lvalidation_publishes_curated_objects(self):
curation_request, curated = self._create_curation_request_awaiting_validation() curation_request, curated = self._create_curation_request_awaiting_validation()
curation_request.validate() curation_request.validate()
self.assertEqual(curation_request.getSimulationState(), 'validated') self.assertEqual(curation_request.getSimulationState(), 'validated')
......
test.erp5.testCurationRequest
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment