[Zope3-checkins] CVS: Zope3/src/zope/app/process/tests - test_bootstrap.py:1.12

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


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

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

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/process/tests/test_bootstrap.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/process/tests/test_bootstrap.py:1.11	Fri Mar  5 10:55:34 2004
+++ Zope3/src/zope/app/process/tests/test_bootstrap.py	Fri Mar  5 17:09:12 2004
@@ -84,7 +84,7 @@
             cx = self.db.open()
             root = cx.root()
             root_folder = root.get(ZopePublication.root_name, None)
-            self.assert_(IRootFolder.isImplementedBy(root_folder))
+            self.assert_(IRootFolder.providedBy(root_folder))
 
             package_name = '/++etc++site/default'
             package = traverse(root_folder, package_name)
@@ -112,7 +112,7 @@
             package_name = '/++etc++site/default'
             package = traverse(root_folder, package_name)
 
-            self.assert_(IErrorReportingService.isImplementedBy(
+            self.assert_(IErrorReportingService.providedBy(
                 traverse(package, 'ErrorLogging')))
             get_transaction().commit()
             cx.close()
@@ -131,16 +131,16 @@
         package_name = '/++etc++site/default'
         package = traverse(root_folder, package_name)
 
-        self.assert_(IEventService.isImplementedBy(
+        self.assert_(IEventService.providedBy(
             traverse(package, 'EventPublication')))
 
-        self.assert_(IObjectHub.isImplementedBy(
+        self.assert_(IObjectHub.providedBy(
             traverse(package, 'HubIds')))
 
-        self.assert_(IErrorReportingService.isImplementedBy(
+        self.assert_(IErrorReportingService.providedBy(
             traverse(package, 'ErrorLogging')))
 
-        self.assert_(IPrincipalAnnotationService.isImplementedBy(
+        self.assert_(IPrincipalAnnotationService.providedBy(
             traverse(package, 'PrincipalAnnotation')))
 
         cx.close()
@@ -164,22 +164,22 @@
         package_name = '/++etc++site/default'
         package = traverse(root_folder, package_name)
 
-        self.assert_(IEventService.isImplementedBy(
+        self.assert_(IEventService.providedBy(
             traverse(package, 'EventPublication')))
 
-        self.assert_(IObjectHub.isImplementedBy(
+        self.assert_(IObjectHub.providedBy(
             traverse(package, 'HubIds')))
 
         self.assertRaises(NotFoundError, traverse, root_folder,
                           '/++etc++site/default/ErrorLogging')
 
-        self.assert_(IErrorReportingService.isImplementedBy(
+        self.assert_(IErrorReportingService.providedBy(
             traverse(package, 'Errors')))
 
-        self.assert_(IEventService.isImplementedBy(
+        self.assert_(IEventService.providedBy(
             traverse(package, 'EventPublication')))
 
-        self.assert_(IPrincipalAnnotationService.isImplementedBy(
+        self.assert_(IPrincipalAnnotationService.providedBy(
             traverse(package, 'PrincipalAnnotation')))
 
         cx.close()




More information about the Zope3-Checkins mailing list