[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser/tests - testImageUpload.py:1.3

Jim Fulton jim@zope.com
Mon, 9 Dec 2002 11:09:50 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv31486/lib/python/Zope/App/OFS/Content/Image/Views/Browser/tests

Modified Files:
	testImageUpload.py 
Log Message:
Renamed widgets (changed the view name) from 'widget' to 'edit'.


=== Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser/tests/testImageUpload.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser/tests/testImageUpload.py:1.2	Thu Dec  5 08:27:05 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser/tests/testImageUpload.py	Mon Dec  9 11:09:18 2002
@@ -42,9 +42,9 @@
         PlacelessSetup.setUp(self)
 
         # Configure the widget views
-        setDefaultViewName(IField, IBrowserPresentation, "widget")
-        provideView(IBytesLine, "widget", IBrowserPresentation, BytesWidget)
-        provideView(IBytes, "widget", IBrowserPresentation, BytesAreaWidget)
+        setDefaultViewName(IField, IBrowserPresentation, 'edit')
+        provideView(IBytesLine, 'edit', IBrowserPresentation, BytesWidget)
+        provideView(IBytes, 'edit', IBrowserPresentation, BytesAreaWidget)
 
         icondir = os.path.split(Zope.App.OFS.Content.Image.__file__)[0]
         data = open(os.path.join(icondir, 'Image_icon.gif'), 'rb').read()