[Zope3-checkins] CVS: Zope3/src/zope/app/rdb/tests - test_row.py:1.6 test_zopeconnection.py:1.6

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


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

Modified Files:
	test_row.py test_zopeconnection.py 
Log Message:
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/rdb/tests/test_row.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/rdb/tests/test_row.py:1.5	Mon Jun  9 11:36:09 2003
+++ Zope3/src/zope/app/rdb/tests/test_row.py	Fri Mar  5 17:09:15 2004
@@ -60,7 +60,7 @@
         # Check __Security_checker__ directly
         self.assertRaises(AttributeError,
                           getattr, klass, '__Security_checker__')
-        self.assert_(IChecker.isImplementedBy(ob.__Security_checker__))
+        self.assert_(IChecker.providedBy(ob.__Security_checker__))
 
     def test__cmp__(self):
         from zope.app.rdb import RowClassFactory


=== Zope3/src/zope/app/rdb/tests/test_zopeconnection.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/rdb/tests/test_zopeconnection.py:1.5	Tue Mar  2 08:48:29 2004
+++ Zope3/src/zope/app/rdb/tests/test_zopeconnection.py	Fri Mar  5 17:09:15 2004
@@ -27,7 +27,7 @@
         zc = ZopeConnection(ConnectionStub(), TypeInfoStub())
         cursor = zc.cursor()
 
-        self.failUnless(IZopeCursor.isImplementedBy(cursor),
+        self.failUnless(IZopeCursor.providedBy(cursor),
                         "cursor is not what we expected")
 
     def test_connection_txn_registration(self):




More information about the Zope3-Checkins mailing list