[CMF-checkins] CVS: CMF/CMFSetup/tests - test_workflow.py:1.24.2.1
Yvo Schubbe
y.2004_ at wcm-solutions.de
Thu Nov 18 03:13:22 EST 2004
Update of /cvs-repository/CMF/CMFSetup/tests
In directory cvs.zope.org:/tmp/cvs-serv8551/CMFSetup/tests
Modified Files:
Tag: CMF-1_5-branch
test_workflow.py
Log Message:
- fixed import of workflow bindings (http://collector.zope.org/CMF/265)
- converted the workflows.xml parsing to minidom
- added a 'typeinfo' dependency to the 'workflow' import step
=== CMF/CMFSetup/tests/test_workflow.py 1.24 => 1.24.2.1 ===
--- CMF/CMFSetup/tests/test_workflow.py:1.24 Thu Aug 12 11:07:41 2004
+++ CMF/CMFSetup/tests/test_workflow.py Thu Nov 18 03:12:52 2004
@@ -787,7 +787,7 @@
workflows, bindings = configurator.parseToolXML( _EMPTY_TOOL_EXPORT )
self.assertEqual( len( workflows ), 0 )
- self.assertEqual( len( bindings ), 0 )
+ self.assertEqual( len( bindings ), 1 )
def test_parseToolXML_default_chain_plus_overrides( self ):
@@ -827,7 +827,7 @@
self.assertEqual( meta_type, DCWorkflowDefinition.meta_type )
self.assertEqual( filename, 'workflows/dcworkflow/definition.xml' )
- self.assertEqual( len( bindings ), 0 )
+ self.assertEqual( len( bindings ), 1 )
def test_parseWorkflowXML_empty( self ):
More information about the CMF-checkins
mailing list