[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/translation/tests - test_translate.py:1.6.6.1

Jim Fulton cvs-admin at zope.org
Tue Nov 18 17:26:54 EST 2003


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

Modified Files:
      Tag: adaptergeddon-branch
	test_translate.py 
Log Message:
Implemented local presentation services.


=== Zope3/src/zope/app/browser/services/translation/tests/test_translate.py 1.6 => 1.6.6.1 ===
--- Zope3/src/zope/app/browser/services/translation/tests/test_translate.py:1.6	Sun Sep 21 13:30:41 2003
+++ Zope3/src/zope/app/browser/services/translation/tests/test_translate.py	Tue Nov 18 17:26:23 2003
@@ -19,7 +19,7 @@
 from StringIO import StringIO
 
 from zope.app.tests.placelesssetup import PlacelessSetup
-from zope.component.adapter import provideAdapter
+from zope.app.tests import ztapi
 from zope.component.factory import provideFactory
 
 from zope.app.browser.services.translation.translate \
@@ -48,7 +48,8 @@
         PlacelessSetup.setUp(self)
 
         # Setup the registries
-        provideAdapter(IHTTPRequest, IUserPreferredCharsets, HTTPCharsets)
+        ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,
+                             HTTPCharsets)
         provideFactory('Message Catalog', MessageCatalog)
 
         service = TranslationService('default')




More information about the Zope3-Checkins mailing list