[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content/tests - test_imageupload.py:1.1.2.2

Jim Fulton jim@zope.com
Tue, 24 Dec 2002 07:51:50 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/content/tests
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/browser/content/tests

Modified Files:
      Tag: NameGeddon-branch
	test_imageupload.py 
Log Message:
Searched for and changed over 1200 references to Zope.something.

Most of these were either comments, doc strings, or permission ids.

Many were imports or ids in zcml.  (much zcml fixup is still needed.



=== Zope3/src/zope/app/browser/content/tests/test_imageupload.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/content/tests/test_imageupload.py:1.1.2.1	Mon Dec 23 14:31:06 2002
+++ Zope3/src/zope/app/browser/content/tests/test_imageupload.py	Tue Dec 24 07:50:49 2002
@@ -18,10 +18,9 @@
 $Id$
 """
 
-from unittest import TestCase, TestSuite, main, makeSuite
 import os
+from unittest import TestCase, TestSuite, main, makeSuite
 from zope.publisher.browser import TestRequest
-import Zope.App.OFS.Content.Image
 from zope.app.content.image import Image, IImage
 from zope.app.browser.content.image import ImageUpload
 from zope.app.browser.form.editview import EditView
@@ -46,7 +45,7 @@
         provideView(IBytesLine, 'edit', IBrowserPresentation, BytesWidget)
         provideView(IBytes, 'edit', IBrowserPresentation, BytesAreaWidget)
 
-        icondir = os.path.split(Zope.App.OFS.Content.Image.__file__)[0]
+        icondir = os.path.split(zope.app.content.__file__)[0]
         data = open(os.path.join(icondir, 'Image_icon.gif'), 'rb').read()
         image = Image(data)
         self.__view = IU(image, TestRequest())