[Zope3-checkins] CVS: Zope3/src/zope/app/file/ftests - test_file.py:1.4

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


Update of /cvs-repository/Zope3/src/zope/app/file/ftests
In directory cvs.zope.org:/tmp/cvs-serv2488/src/zope/app/file/ftests

Modified Files:
	test_file.py 
Log Message:


Modernized the File and Image API to rely more heavily on schemas instead of
accessor and mutator methods. Removed a lot of unnecessary cruft from the
object classes and their views.


=== Zope3/src/zope/app/file/ftests/test_file.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/file/ftests/test_file.py:1.3	Mon Mar  8 07:05:57 2004
+++ Zope3/src/zope/app/file/ftests/test_file.py	Thu Mar 18 22:17:40 2004
@@ -26,7 +26,8 @@
         # Step 1: add the file
         response = self.publish('/+/action.html',
                                 basic='mgr:mgrpw',
-                                form={'type_name': u'File', 'id': u'foo'})
+                                form={'type_name': u'zope.app.content.File',
+                                      'id': u'foo'})
         self.assertEqual(response.getStatus(), 302)
         self.assertEqual(response.getHeader('Location'),
                          'http://localhost/@@contents.html')




More information about the Zope3-Checkins mailing list