[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Image/tests - testImage.py:1.1.2.1.4.2
Stephan Richter
srichter@cbu.edu
Wed, 27 Mar 2002 09:36:05 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Image/tests
In directory cvs.zope.org:/tmp/cvs-serv13035/tests
Modified Files:
Tag: srichter-OFS_Formulator-branch
testImage.py
Log Message:
- Tweaks for new Publisher and ZPT security
=== Zope3/lib/python/Zope/App/OFS/Image/tests/testImage.py 1.1.2.1.4.1 => 1.1.2.1.4.2 ===
import unittest
-from Interface import verify
+from Interface.Verify import verifyClass
class Test( unittest.TestCase ):
def _makeImage(self, *args, **kw):
""" """
- from Zope.App.OFS.Image.Image import Image
+ from Zope.App.OFS.Content.Image.Image import Image
return Image(*args, **kw)
@@ -62,10 +62,10 @@
def testInterface(self):
- from Zope.App.OFS.Image.Image import Image, IImage
+ from Zope.App.OFS.Content.Image.Image import Image, IImage
self.failUnless(IImage.isImplementedByInstancesOf(Image))
- self.failUnless(verify(IImage, Image))
+ self.failUnless(verifyClass(IImage, Image))