[Zope3-checkins] CVS: Zope3/src/zope/app/catalog - ftests.py:1.5

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Mar 18 22:17:44 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/catalog
In directory cvs.zope.org:/tmp/cvs-serv2298/src/zope/app/catalog

Modified Files:
	ftests.py 
Log Message:


I renamed the file factory from 'File' --> 'zope.app.content.File', which
required some functional tests to be updated.




=== Zope3/src/zope/app/catalog/ftests.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/catalog/ftests.py:1.4	Fri Mar  5 21:35:11 2004
+++ Zope3/src/zope/app/catalog/ftests.py	Thu Mar 18 22:17:13 2004
@@ -96,7 +96,7 @@
 
         # Now add some content
         response = self.publish("/+/action.html", basic='mgr:mgrpw', 
-                                form={'type_name':u'File', 
+                                form={'type_name':u'zope.app.content.File', 
                                       'id':u'First'})
         self.assertEqual(response.getStatus(), 302)
         response = self.publish("/First/@@EditMetaData.html",basic='mgr:mgrpw',
@@ -106,7 +106,7 @@
                                       })
         self.assertEqual(response.getStatus(), 200)
         response = self.publish("/+/action.html", basic='mgr:mgrpw', 
-                                form={'type_name':u'File', 
+                                form={'type_name':u'zope.app.content.File', 
                                       'id':u'Second'})
         self.assertEqual(response.getStatus(), 302)
         response = self.publish("/Second/@@EditMetaData.html",basic='mgr:mgrpw',
@@ -117,7 +117,7 @@
         self.assertEqual(response.getStatus(), 200)
 
         response = self.publish("/+/action.html", basic='mgr:mgrpw', 
-                                form={'type_name':u'File', 
+                                form={'type_name':u'zope.app.content.File', 
                                       'id':u'Third'})
         self.assertEqual(response.getStatus(), 302)
         response = self.publish("/Third/@@EditMetaData.html",basic='mgr:mgrpw',
@@ -127,7 +127,7 @@
                                       })
         self.assertEqual(response.getStatus(), 200)
         response = self.publish("/+/action.html", basic='mgr:mgrpw', 
-                                form={'type_name':u'File', 
+                                form={'type_name':u'zope.app.content.File', 
                                       'id':u'Thirda'})
         self.assertEqual(response.getStatus(), 302)
         response = self.publish("/Thirda/@@EditMetaData.html",basic='mgr:mgrpw',




More information about the Zope3-Checkins mailing list