[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/tests - TestingServiceManager.py:1.3

Viktorija Zaksiene ryzaja@codeworks.lt
Mon, 9 Dec 2002 10:23:28 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/tests
In directory cvs.zope.org:/tmp/cvs-serv23694

Modified Files:
	TestingServiceManager.py 
Log Message:
Tidied up some strange delegations in TestingServiceManager

=== Zope3/lib/python/Zope/App/OFS/Services/tests/TestingServiceManager.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/Services/tests/TestingServiceManager.py:1.2	Sat Nov 30 13:35:55 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/tests/TestingServiceManager.py	Mon Dec  9 10:23:28 2002
@@ -31,11 +31,11 @@
 
     def getServiceDefinitions(self):
         "See Zope.ComponentArchitecture.IServiceService.IServiceService"
-        return getNextServiceManager.getServiceDefinitions()
+        return getNextServiceManager(self).getServiceDefinitions()
 
     def getInterfaceFor(self, name):
         "See Zope.ComponentArchitecture.IServiceService.IServiceService"
-        return getNextServiceManager.getServiceDefinitions()
+        return getNextServiceManager(self).getInterfaceFor(name)
 
     def getService(self, name):
         "See Zope.ComponentArchitecture.IServiceService.IServiceService"