[Zope3-checkins] CVS: Zope3/src/zope/component/tests -
placelesssetup.py:1.8
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Mar 9 07:40:33 EST 2004
Update of /cvs-repository/Zope3/src/zope/component/tests
In directory cvs.zope.org:/tmp/cvs-serv10735/src/zope/component/tests
Modified Files:
placelesssetup.py
Log Message:
Removed Factory Service from placeless setup.
=== Zope3/src/zope/component/tests/placelesssetup.py 1.7 => 1.8 ===
--- Zope3/src/zope/component/tests/placelesssetup.py:1.7 Fri Nov 21 12:09:32 2003
+++ Zope3/src/zope/component/tests/placelesssetup.py Tue Mar 9 07:40:33 2004
@@ -21,8 +21,7 @@
from zope.testing.cleanup import CleanUp
from zope.component import getServiceManager
-from zope.component.servicenames import Adapters, Utilities
-from zope.component.servicenames import Factories, Presentation
+from zope.component.servicenames import Adapters, Utilities, Presentation
class PlacelessSetup(CleanUp):
def setUp(self):
@@ -30,12 +29,6 @@
sm = getServiceManager(None)
defineService = sm.defineService
provideService = sm.provideService
-
- # factory service
- from zope.component.interfaces import IFactoryService
- defineService(Factories, IFactoryService)
- from zope.component.factory import factoryService
- provideService(Factories, factoryService)
# utility service
from zope.component.interfaces import IUtilityService
More information about the Zope3-Checkins
mailing list