[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - objecthubsetup.py:1.4

Steve Alexander steve@cat-box.net
Mon, 30 Dec 2002 10:08:18 -0500


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

Modified Files:
	objecthubsetup.py 
Log Message:
removed junk.


=== Zope3/src/zope/app/services/tests/objecthubsetup.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/services/tests/objecthubsetup.py:1.3	Mon Dec 30 09:03:17 2002
+++ Zope3/src/zope/app/services/tests/objecthubsetup.py	Mon Dec 30 10:08:17 2002
@@ -99,26 +99,4 @@
     def setUp(self):
         EventSetup.setUp(self)
         self.object_hub = getService(self.rootFolder, 'HubIds')
-        #from zope.app.interfaces.services.hub import IObjectHub
-        #global_service_manager = getServiceManager(None)
-        #global_service_manager.defineService("HubIds", IObjectHub)
 
-    def createObjectHub(self, path):
-        raise "HELL!"
-        #folder = self.rootFolder
-        if path is not None:
-            folder = traverse(folder, path)
-
-        if not folder.hasServiceManager():
-            self.createServiceManager(folder)
-
-        sm = traverse(folder, '++etc++Services')
-        default = traverse(sm, 'Packages/default')
-        default.setObject("myObjectHub", ObjectHub())
-
-        path = "%s/Packages/default/myObjectHub" % getPhysicalPathString(sm)
-        configuration = ServiceConfiguration("HubIds", path)
-
-        configure = traverse(default, 'configure')
-        key = configure.setObject("myObjectHubDir", configuration)
-        traverse(configure, key).status = Active