[Zope3-checkins] CVS: Zope3/src/zope/app/i18n/tests - placelesssetup.py:1.5

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Mar 8 18:35:18 EST 2004


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

Modified Files:
	placelesssetup.py 
Log Message:


No need to create a translation service anymore




=== Zope3/src/zope/app/i18n/tests/placelesssetup.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/i18n/tests/placelesssetup.py:1.4	Fri Feb 27 17:25:24 2004
+++ Zope3/src/zope/app/i18n/tests/placelesssetup.py	Mon Mar  8 18:35:17 2004
@@ -15,11 +15,8 @@
 
 $Id$
 """
-from zope.app.services.servicenames import Translation
 from zope.app.tests import ztapi
 from zope.component import getServiceManager
-from zope.i18n.globaltranslationservice import translationService
-from zope.i18n.interfaces import ITranslationService
 from zope.i18n.interfaces import IUserPreferredCharsets
 from zope.i18n.interfaces import IUserPreferredLanguages
 from zope.publisher.browser import BrowserLanguages
@@ -28,11 +25,6 @@
 class PlacelessSetup:
 
     def setUp(self):
-        sm = getServiceManager(None)
-
-        sm.defineService(Translation, ITranslationService)
-        sm.provideService(Translation, translationService)
-
         ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,
                              HTTPCharsets)
         ztapi.provideAdapter(IHTTPRequest, IUserPreferredLanguages,




More information about the Zope3-Checkins mailing list