[CMF-checkins] CVS: Products/CMFCore/tests - test_TypesTool.py:1.32.2.3

Jens Vagelpohl jens at dataflake.org
Mon Nov 22 13:38:59 EST 2004


Update of /cvs-repository/Products/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv21594

Modified Files:
      Tag: CMF-1_5-branch
	test_TypesTool.py 
Log Message:
- remove docstring


=== Products/CMFCore/tests/test_TypesTool.py 1.32.2.2 => 1.32.2.3 ===
--- Products/CMFCore/tests/test_TypesTool.py:1.32.2.2	Mon Nov 22 06:55:59 2004
+++ Products/CMFCore/tests/test_TypesTool.py	Mon Nov 22 13:38:58 2004
@@ -104,18 +104,18 @@
         self.failUnless(meta_types.has_key('Factory-based Type Information'))
 
     def test_CMFCollector_49(self):
-        """http://www.zope.org/Collectors/CMF/49
+        #http://www.zope.org/Collectors/CMF/49
+
+        #If you have two FTIs on the file system, both with the same meta_type
+        #but with different id values, the way listDefaultTypeInformation
+        #listed them in the dropdown list made it impossible to distinguish
+        #the two because the identifier string only contained the CMF package
+        #name and the meta_type
 
-        If you have two FTIs on the file system, both with the same meta_type
-        but with different id values, the way listDefaultTypeInformation
-        listed them in the dropdown list made it impossible to distinguish
-        the two because the identifier string only contained the CMF package
-        name and the meta_type
-        """
-        import copy
         # Extreme nastiness: Fake out a /Control_Panel/Products registry
         # inside the fake site by putting dummy objects with a
         # factory_type_information attribute on them...
+        import copy
         fti1 = copy.deepcopy(FTIDATA_DUMMY)
         fti2 = copy.deepcopy(FTIDATA_DUMMY)
         fti2[0]['id'] = 'Other Content'



More information about the CMF-checkins mailing list