[Zope3-checkins] CVS: Zope3/src/zope/app/file/tests - test_image.py:1.4

Jim Fulton jim at zope.com
Fri Mar 5 17:10:14 EST 2004


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

Modified Files:
	test_image.py 
Log Message:
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/file/tests/test_image.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/file/tests/test_image.py:1.3	Wed Mar  3 06:04:00 2004
+++ Zope3/src/zope/app/file/tests/test_image.py	Fri Mar  5 17:09:04 2004
@@ -75,7 +75,7 @@
         self.assertEqual(file.getData(), 'Blah')
 
     def testInterface(self):
-        self.failUnless(IImage.isImplementedByInstancesOf(Image))
+        self.failUnless(IImage.implementedBy(Image))
         self.failUnless(verifyClass(IImage, Image))
 
 class TestFileAdapters(unittest.TestCase):
@@ -138,7 +138,7 @@
 
     def testInterface(self):
         from zope.app.size.interfaces import ISized
-        self.failUnless(ISized.isImplementedByInstancesOf(ImageSized))
+        self.failUnless(ISized.implementedBy(ImageSized))
         self.failUnless(verifyClass(ISized, ImageSized))
 
     def test_zeroSized(self):




More information about the Zope3-Checkins mailing list