[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/tests - test_traverser.py:1.15

Jim Fulton jim at zope.com
Fri Mar 5 17:09:51 EST 2004


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

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

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/traversing/tests/test_traverser.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/traversing/tests/test_traverser.py:1.14	Fri Nov 21 12:12:16 2003
+++ Zope3/src/zope/app/traversing/tests/test_traverser.py	Fri Mar  5 17:09:19 2004
@@ -57,7 +57,7 @@
         self.tr = Traverser(self.item)
 
     def testImplementsITraverser(self):
-        self.failUnless(ITraverser.isImplementedBy(self.tr))
+        self.failUnless(ITraverser.providedBy(self.tr))
 
     def testVerifyInterfaces(self):
         for interface in implementedBy(Traverser):
@@ -197,7 +197,7 @@
 
 class DefaultTraversableTests(unittest.TestCase):
     def testImplementsITraversable(self):
-        self.failUnless(ITraversable.isImplementedBy(DefaultTraversable(None)))
+        self.failUnless(ITraversable.providedBy(DefaultTraversable(None)))
 
     def testVerifyInterfaces(self):
         for interface in implementedBy(DefaultTraversable):




More information about the Zope3-Checkins mailing list