Add missing changelog, remove redundant code

parent c1304c30
......@@ -7,6 +7,8 @@ Products.DCWorkflow Changelog
- Don't crash worklist's ``manage_main`` if variables are Expression objects.
(https://bugs.launchpad.net/zope-cmf/+bug/731394)
- Allow renaming of states, transitions, variables and worklists
- Require at least Zope 2.13.4.
- StateChangeInfo: Removed support for deprecated '_isPortalRoot' marker.
......
......@@ -205,8 +205,6 @@ class DCWorkflowDefinitionTests(SecurityTest):
wf.worklists._getOb('published_documents_new', None))
def test_worklists(self):
wftool = self.root.site.portal_workflow
wf = self._getDummyWorkflow()
worklist = wf.worklists._getOb('published_documents')
# check ZMI
......@@ -214,7 +212,7 @@ class DCWorkflowDefinitionTests(SecurityTest):
# store an Expression
worklist.setProperties('', props={'var_match_state': 'string:private'})
# check ZMI
wf.worklists.manage_main(self.app.REQUEST)
wf.worklists.manage_main(self.REQUEST)
# XXX more tests...
......
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