Log message for revision 85388:
  Forgot to commit more test setup code
  

Changed:
  U   
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.py
  U   
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.zcml

-=-
Modified: 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.py
===================================================================
--- 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.py    
    2008-04-15 21:17:07 UTC (rev 85387)
+++ 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.py    
    2008-04-15 21:21:08 UTC (rev 85388)
@@ -49,6 +49,19 @@
     def __call__(self):
         return self.template()
 
+class LegacyTemplateTwo(BrowserView):
+
+    template = ViewPageTemplateFile('falcon.pt')
+
+    def __init__(self, context, request):
+        self.__parent__ = context
+        self.context = context
+        self.request = request
+        self.template = ViewPageTemplateFile('falcon.pt')
+
+    def __call__(self):
+        return self.template()
+
 class Explicit(Acquisition.Explicit):
 
     def render(self):

Modified: 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.zcml
===================================================================
--- 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.zcml  
    2008-04-15 21:17:07 UTC (rev 85387)
+++ 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.zcml  
    2008-04-15 21:21:08 UTC (rev 85388)
@@ -24,6 +24,13 @@
 
   <browser:page
       for="*"
+      name="template_two"
+      class=".aqlegacy.LegacyTemplateTwo"
+      permission="zope.Public"
+      />
+
+  <browser:page
+      for="*"
       name="explicit"
       class=".aqlegacy.Explicit"
       attribute="render"

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to