Revert "Move application of custom workflow to test_acquisition.py..."

This reverts commit 6e9b32254e.
This commit is contained in:
Kees Hink 2013-05-10 13:38:46 +02:00
parent 6e9b32254e
commit 6d5c193d8c
2 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,9 @@
<?xml version="1.0"?>
<object name="portal_workflow" meta_type="CMF Workflow Tool">
<object name="comment_workflow_acquired_view" meta_type="Workflow"/>
<bindings>
<type type_id="Discussion Item">
<bound-workflow workflow_id="comment_workflow_acquired_view"/>
</type>
</bindings>
</object>

View File

@ -41,12 +41,6 @@ class DexterityAcquisitionTest(unittest.TestCase):
setRoles(self.portal, TEST_USER_ID, ['Manager'])
self.wftool = getToolByName(self.portal, 'portal_workflow')
# Use customized workflow for comments.
self.wftool.setChainForPortalTypes(
['Discussion Item'],
(comment_workflow_acquired_view,),
)
# Use one_state_workflow for Document and sample_content_type,
# so they're always published.
self.wftool.setChainForPortalTypes(