[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests -
test_find.py:1.8 test_size.py:1.6
Jim Fulton
jim at zope.com
Fri Mar 5 17:10:01 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/container/tests
In directory cvs.zope.org:/tmp/cvs-serv15449/src/zope/app/container/tests
Modified Files:
test_find.py test_size.py
Log Message:
Renamed interface methods:
isImplementedByInstancesOf to implementedBy
isImplementedBy to providedBy
=== Zope3/src/zope/app/container/tests/test_find.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/container/tests/test_find.py:1.7 Wed Mar 3 05:38:39 2004
+++ Zope3/src/zope/app/container/tests/test_find.py Fri Mar 5 17:09:00 2004
@@ -66,7 +66,7 @@
self._count = count
def matches(self, object):
- if IReadContainer.isImplementedBy(object):
+ if IReadContainer.providedBy(object):
return len(object) == self._count
else:
return False
=== Zope3/src/zope/app/container/tests/test_size.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/container/tests/test_size.py:1.5 Wed Mar 3 06:03:58 2004
+++ Zope3/src/zope/app/container/tests/test_size.py Fri Mar 5 17:09:00 2004
@@ -36,7 +36,7 @@
def testImplementsISized(self):
from zope.app.container.size import ContainerSized
sized = ContainerSized(DummyContainer(23))
- self.assert_(ISized.isImplementedBy(sized))
+ self.assert_(ISized.providedBy(sized))
def testEmptyContainer(self):
from zope.app.container.size import ContainerSized
More information about the Zope3-Checkins
mailing list