[Zope3-checkins] CVS: Zope3/src/zope/app/demo/insensitivefolder -
ftests.py:1.2
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Mar 18 22:17:15 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/demo/insensitivefolder
In directory cvs.zope.org:/tmp/cvs-serv2298/src/zope/app/demo/insensitivefolder
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/demo/insensitivefolder/ftests.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/demo/insensitivefolder/ftests.py:1.1 Fri Feb 27 09:50:22 2004
+++ Zope3/src/zope/app/demo/insensitivefolder/ftests.py Thu Mar 18 22:17:14 2004
@@ -34,7 +34,8 @@
# Step 2: add the file
response = self.publish('/cisf/+/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/cisf/@@contents.html')
More information about the Zope3-Checkins
mailing list