[Zope3-checkins] CVS: Zope3/src/zope/app/i18nfile/tests - test_i18nfile.py:1.3 test_i18nimage.py:1.3

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


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

Modified Files:
	test_i18nfile.py test_i18nimage.py 
Log Message:
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/i18nfile/tests/test_i18nfile.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/i18nfile/tests/test_i18nfile.py:1.2	Tue Feb 24 11:50:09 2004
+++ Zope3/src/zope/app/i18nfile/tests/test_i18nfile.py	Fri Mar  5 17:09:08 2004
@@ -162,13 +162,13 @@
         from zope.app.i18nfile.interfaces import II18nFile
         from zope.i18n.interfaces import II18nAware
 
-        self.failUnless(IFile.isImplementedByInstancesOf(I18nFile))
+        self.failUnless(IFile.implementedBy(I18nFile))
         self.failUnless(verifyClass(IFile, I18nFile))
 
-        self.failUnless(II18nAware.isImplementedByInstancesOf(I18nFile))
+        self.failUnless(II18nAware.implementedBy(I18nFile))
         self.failUnless(verifyClass(II18nAware, I18nFile))
 
-        self.failUnless(II18nFile.isImplementedByInstancesOf(I18nFile))
+        self.failUnless(II18nFile.implementedBy(I18nFile))
         self.failUnless(verifyClass(II18nFile, I18nFile))
 
     def testSetDefaultLanguage(self):


=== Zope3/src/zope/app/i18nfile/tests/test_i18nimage.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/i18nfile/tests/test_i18nimage.py:1.2	Tue Feb 24 11:50:09 2004
+++ Zope3/src/zope/app/i18nfile/tests/test_i18nimage.py	Fri Mar  5 17:09:08 2004
@@ -139,13 +139,13 @@
         from zope.app.i18nfile.interfaces import II18nFile
         from zope.i18n.interfaces import II18nAware
 
-        self.failUnless(IImage.isImplementedByInstancesOf(I18nImage))
+        self.failUnless(IImage.implementedBy(I18nImage))
         self.failUnless(verifyClass(IImage, I18nImage))
 
-        self.failUnless(II18nAware.isImplementedByInstancesOf(I18nImage))
+        self.failUnless(II18nAware.implementedBy(I18nImage))
         self.failUnless(verifyClass(II18nAware, I18nImage))
 
-        self.failUnless(II18nFile.isImplementedByInstancesOf(I18nImage))
+        self.failUnless(II18nFile.implementedBy(I18nImage))
         self.failUnless(verifyClass(II18nFile, I18nImage))
 
     def testSetDefaultLanguage(self):




More information about the Zope3-Checkins mailing list