[Zope3-checkins] CVS: Zope3/src/zope/publisher/tests -
test_http.py:1.26 test_xmlrpcrequest.py:1.8
Jim Fulton
jim at zope.com
Mon Mar 15 15:42:46 EST 2004
Update of /cvs-repository/Zope3/src/zope/publisher/tests
In directory cvs.zope.org:/tmp/cvs-serv3290/src/zope/publisher/tests
Modified Files:
test_http.py test_xmlrpcrequest.py
Log Message:
Adapters and views are now registered with a single factory, not a
sequence of factories.
=== Zope3/src/zope/publisher/tests/test_http.py 1.25 => 1.26 ===
--- Zope3/src/zope/publisher/tests/test_http.py:1.25 Mon Mar 15 12:32:49 2004
+++ Zope3/src/zope/publisher/tests/test_http.py Mon Mar 15 15:42:13 2004
@@ -236,7 +236,7 @@
self.auth_user_name = name
as = zope.component.getService(None, 'Adapters')
- as.provideAdapter(IPrincipal, ILoggingInfo, [PrincipalLoggingStub])
+ as.register([IPrincipal], ILoggingInfo, '', PrincipalLoggingStub)
task = HTTPTaskStub()
req = self._createRequest(outstream=task)
req.setUser(UserStub("jim"))
=== Zope3/src/zope/publisher/tests/test_xmlrpcrequest.py 1.7 => 1.8 ===
--- Zope3/src/zope/publisher/tests/test_xmlrpcrequest.py:1.7 Mon Jan 12 03:02:02 2004
+++ Zope3/src/zope/publisher/tests/test_xmlrpcrequest.py Mon Mar 15 15:42:13 2004
@@ -71,7 +71,7 @@
super(XMLRPCTests, self).setUp()
as = zope.component.getService(None, 'Adapters')
- as.provideAdapter(IHTTPRequest, IUserPreferredCharsets, [HTTPCharsets])
+ as.register([IHTTPRequest], IUserPreferredCharsets, '', HTTPCharsets)
class AppRoot:
" "
More information about the Zope3-Checkins
mailing list