[Zope3-checkins] CVS: Zope3/src/zope/app/i18n/tests -
placelesssetup.py:1.2.48.1
Jim Fulton
cvs-admin at zope.org
Tue Nov 18 17:26:59 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/i18n/tests
In directory cvs.zope.org:/tmp/cvs-serv19243/src/zope/app/i18n/tests
Modified Files:
Tag: adaptergeddon-branch
placelesssetup.py
Log Message:
Implemented local presentation services.
=== Zope3/src/zope/app/i18n/tests/placelesssetup.py 1.2 => 1.2.48.1 ===
--- Zope3/src/zope/app/i18n/tests/placelesssetup.py:1.2 Tue Mar 25 18:26:11 2003
+++ Zope3/src/zope/app/i18n/tests/placelesssetup.py Tue Nov 18 17:26:28 2003
@@ -18,7 +18,7 @@
"""
from zope.app.services.servicenames import Translation
-from zope.component.adapter import provideAdapter
+from zope.app.tests import ztapi
from zope.component import getServiceManager
from zope.i18n.globaltranslationservice import translationService
from zope.i18n.interfaces import ITranslationService
@@ -38,5 +38,7 @@
defineService(Translation, ITranslationService)
provideService(Translation, translationService)
- provideAdapter(IHTTPRequest, IUserPreferredCharsets, HTTPCharsets)
- provideAdapter(IHTTPRequest, IUserPreferredLanguages, BrowserLanguages)
+ ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,
+ HTTPCharsets)
+ ztapi.provideAdapter(IHTTPRequest, IUserPreferredLanguages,
+ BrowserLanguages)
More information about the Zope3-Checkins
mailing list