[Zope3-checkins] CVS: Zope3/src/zope/server/http/tests - test_publisherserver.py:1.5.44.1

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


Update of /cvs-repository/Zope3/src/zope/server/http/tests
In directory cvs.zope.org:/tmp/cvs-serv19243/src/zope/server/http/tests

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


=== Zope3/src/zope/server/http/tests/test_publisherserver.py 1.5 => 1.5.44.1 ===
--- Zope3/src/zope/server/http/tests/test_publisherserver.py:1.5	Wed Apr  9 05:49:36 2003
+++ Zope3/src/zope/server/http/tests/test_publisherserver.py	Tue Nov 18 17:26:43 2003
@@ -22,7 +22,7 @@
 from zope.server.http.publisherhttpserver import PublisherHTTPServer
 
 from zope.component.tests.placelesssetup import PlacelessSetup
-from zope.component.adapter import provideAdapter
+from zope.app.tests import ztapi
 
 from zope.i18n.interfaces import IUserPreferredCharsets
 
@@ -92,7 +92,8 @@
 
     def setUp(self):
         PlacelessSetup.setUp(self)
-        provideAdapter(IHTTPRequest, IUserPreferredCharsets, HTTPCharsets)
+        ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,
+                             HTTPCharsets)
         obj = tested_object()
         obj.folder = tested_object()
         obj.folder.item = tested_object()




More information about the Zope3-Checkins mailing list