[Zope3-checkins] CVS: Zope3/src/zope/server/http/tests -
test_publisherserver.py:1.8
Jim Fulton
jim at zope.com
Mon Mar 15 15:42:15 EST 2004
Update of /cvs-repository/Zope3/src/zope/server/http/tests
In directory cvs.zope.org:/tmp/cvs-serv3290/src/zope/server/http/tests
Modified Files:
test_publisherserver.py
Log Message:
Adapters and views are now registered with a single factory, not a
sequence of factories.
=== Zope3/src/zope/server/http/tests/test_publisherserver.py 1.7 => 1.8 ===
--- Zope3/src/zope/server/http/tests/test_publisherserver.py:1.7 Mon Jan 12 03:02:01 2004
+++ Zope3/src/zope/server/http/tests/test_publisherserver.py Mon Mar 15 15:42:14 2004
@@ -93,7 +93,7 @@
def setUp(self):
super(Tests, self).setUp()
as = zope.component.getService(None, 'Adapters')
- as.provideAdapter(IHTTPRequest, IUserPreferredCharsets, [HTTPCharsets])
+ as.register([IHTTPRequest], IUserPreferredCharsets, '', HTTPCharsets)
obj = tested_object()
obj.folder = tested_object()
obj.folder.item = tested_object()
More information about the Zope3-Checkins
mailing list