[CMF-checkins] CVS: CMF/CMFSetup/tests - test_registry.py:1.10

Tres Seaver tseaver at zope.com
Tue Jun 8 15:44:20 EDT 2004


Update of /cvs-repository/CMF/CMFSetup/tests
In directory cvs.zope.org:/tmp/cvs-serv473/tests

Modified Files:
	test_registry.py 
Log Message:
 - Repair test breakage.


=== CMF/CMFSetup/tests/test_registry.py 1.9 => 1.10 ===
--- CMF/CMFSetup/tests/test_registry.py:1.9	Tue Jun  8 15:36:36 2004
+++ CMF/CMFSetup/tests/test_registry.py	Tue Jun  8 15:44:19 2004
@@ -519,7 +519,7 @@
         self.assertEqual( info[ 'handler' ], ONE_FUNC_NAME )
         self.assertEqual( info[ 'dependencies' ], () )
         self.assertEqual( info[ 'title' ], 'One Step' )
-        self.failUnless( 'One small step' in info[ 'description' ], info )
+        self.failUnless( 'One small step' in info[ 'description' ] )
 
 
 _EMPTY_IMPORT_XML = """\
@@ -740,7 +740,7 @@
         self.assertEqual( info[ 'id' ], 'one' )
         self.assertEqual( info[ 'handler' ], ONE_FUNC_NAME )
         self.assertEqual( info[ 'title' ], 'One Step' )
-        self.failUnless( 'One small step' in info[ 'description' ], info )
+        self.failUnless( 'One small step' in info[ 'description' ] )
 
     def test_parseXML_single_as_ascii( self ):
 
@@ -760,7 +760,7 @@
         self.assertEqual( info[ 'id' ], 'one' )
         self.assertEqual( info[ 'handler' ], ONE_FUNC_NAME )
         self.assertEqual( info[ 'title' ], 'One Step' )
-        self.failUnless( 'One small step' in info[ 'description' ], info )
+        self.failUnless( 'One small step' in info[ 'description' ] )
 
 
 _EMPTY_EXPORT_XML = """\




More information about the CMF-checkins mailing list