[Checkins] SVN: zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_viewzpt.py IPresentationRequest was removed. Use IRequest instead.

Yusei Tahara yusei at domen.cx
Fri May 1 22:23:05 EDT 2009


Log message for revision 99664:
  IPresentationRequest was removed. Use IRequest instead.
  

Changed:
  U   zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_viewzpt.py

-=-
Modified: zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_viewzpt.py
===================================================================
--- zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_viewzpt.py	2009-05-01 22:50:50 UTC (rev 99663)
+++ zope.app.pagetemplate/trunk/src/zope/app/pagetemplate/tests/test_viewzpt.py	2009-05-02 02:23:04 UTC (rev 99664)
@@ -64,13 +64,12 @@
         def ViewMaker(*args, **kw):
             return the_view
 
-        from zope.component.interfaces import IPresentationRequest
+        from zope.publisher.interfaces import IRequest
 
-        ztapi.provideView(I1, IPresentationRequest, Interface,
-                          the_view_name, ViewMaker)
+        ztapi.provideView(I1, IRequest, Interface, the_view_name, ViewMaker)
 
         class MyRequest(object):
-            implements(IPresentationRequest)
+            implements(IRequest)
 
         request = MyRequest()
 



More information about the Checkins mailing list