[Checkins] SVN: zope.app.publication/trunk/ Adapt to the recent removal of bbb interfaces.

Dan Korostelev nadako at gmail.com
Fri Mar 13 09:20:57 EDT 2009


Log message for revision 98032:
  Adapt to the recent removal of bbb interfaces.

Changed:
  U   zope.app.publication/trunk/CHANGES.txt
  U   zope.app.publication/trunk/src/zope/app/publication/tests/test_xmlrpcpublication.py

-=-
Modified: zope.app.publication/trunk/CHANGES.txt
===================================================================
--- zope.app.publication/trunk/CHANGES.txt	2009-03-13 12:50:47 UTC (rev 98031)
+++ zope.app.publication/trunk/CHANGES.txt	2009-03-13 13:20:57 UTC (rev 98032)
@@ -5,7 +5,8 @@
 3.5.3 (unreleased)
 ------------------
 
-- ...
+- Adapt to the removal of IXMLPresentation from zope.app.publisher which
+  was removed to adapt to removal of deprecated interfaces from zope.component.
 
 3.5.2 (2009-03-10)
 ------------------

Modified: zope.app.publication/trunk/src/zope/app/publication/tests/test_xmlrpcpublication.py
===================================================================
--- zope.app.publication/trunk/src/zope/app/publication/tests/test_xmlrpcpublication.py	2009-03-13 12:50:47 UTC (rev 98031)
+++ zope.app.publication/trunk/src/zope/app/publication/tests/test_xmlrpcpublication.py	2009-03-13 13:20:57 UTC (rev 98032)
@@ -25,7 +25,7 @@
 from zope.interface import Interface, implements
 from zope.proxy import removeAllProxies
 from zope.publisher.interfaces import NotFound
-from zope.app.publisher.interfaces.xmlrpc import IXMLRPCPresentation
+from zope.app.publisher.interfaces.xmlrpc import IXMLRPCView
 from zope.publisher.interfaces.xmlrpc import IXMLRPCRequest
 from zope.publisher.interfaces.xmlrpc import IXMLRPCPublisher
 from zope.publisher.xmlrpc import TestRequest
@@ -71,13 +71,13 @@
         class V(object):
             def __init__(self, context, request):
                 pass
-            implements(IXMLRPCPresentation)
+            implements(IXMLRPCView)
 
         ob = C()
         r = self._createRequest('/foo', pub)
 
-        ztapi.provideView(I, IXMLRPCPresentation, Interface, 'view', V)
-        ztapi.setDefaultViewName(I, 'view', type=IXMLRPCPresentation)
+        ztapi.provideView(I, IXMLRPCView, Interface, 'view', V)
+        ztapi.setDefaultViewName(I, 'view', type=IXMLRPCView)
         self.assertRaises(NotFound, pub.traverseName, r, ob, 'foo')
 
 
@@ -95,7 +95,7 @@
         class V(object):
             def __init__(self, context, request):
                 pass
-            implements(IXMLRPCPresentation)
+            implements(IXMLRPCView)
 
 
         # Register the simple traverser so we can traverse without @@



More information about the Checkins mailing list