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

Suresh Babu Eddala sbabu at zeomega.com
Fri Mar 5 10:55:34 EST 2004


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

Modified Files:
	test_bootstrap.py 
Log Message:


CreateInterfaceService is removed.




=== Zope3/src/zope/app/process/tests/test_bootstrap.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/process/tests/test_bootstrap.py:1.10	Tue Feb 24 11:51:12 2004
+++ Zope3/src/zope/app/process/tests/test_bootstrap.py	Fri Mar  5 10:55:34 2004
@@ -28,7 +28,6 @@
      import IPrincipalAnnotationService
 from zope.app.interfaces.services.event import IEventService
 from zope.app.interfaces.services.hub import IObjectHub
-from zope.app.interfaces.component import IInterfaceService
 from zope.app.publication.zopepublication import ZopePublication
 from zope.app.services.tests.placefulsetup import PlacefulSetup
 from zope.app.services.error import ErrorReportingService
@@ -185,32 +184,11 @@
 
         cx.close()
 
-class TestCreateInterfaceService(TestBootstrapSubscriberBase):
-
-    def test_createInterfaceService(self):
-        from zope.app.process.bootstrap import createInterfaceService
-
-        createInterfaceService.notify(EventStub(self.db))
-
-        cx = self.db.open()
-        root = cx.root()
-        root_folder = root.get(ZopePublication.root_name, None)
-        self.assert_(IRootFolder.isImplementedBy(root_folder))
-
-        package_name = '/++etc++site/default'
-        package = traverse(root_folder, package_name)
-
-        self.assert_(IInterfaceService.isImplementedBy(
-            traverse(package, 'Interfaces')))
-
-        cx.close()
-
 
 def test_suite():
     suite = unittest.TestSuite()
     suite.addTest(unittest.makeSuite(TestBootstrapSubscriberBase))
     suite.addTest(unittest.makeSuite(TestBootstrapInstance))
-    suite.addTest(unittest.makeSuite(TestCreateInterfaceService))
     return suite
 
 




More information about the Zope3-Checkins mailing list