Commit 0a50ced0 authored by Hanno Schlichting's avatar Hanno Schlichting

Forgot to commit more test setup code

parent 900324ab
......@@ -49,6 +49,19 @@ class LegacyTemplate(BrowserView):
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):
......
......@@ -22,6 +22,13 @@
permission="zope.Public"
/>
<browser:page
for="*"
name="template_two"
class=".aqlegacy.LegacyTemplateTwo"
permission="zope.Public"
/>
<browser:page
for="*"
name="explicit"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment