Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/z/o/zope.app.zptpage-3.5.1/src/zope/app/zptpage/tests/test_zptpageeval.py   zope.app.zptpage(Download)
from zope.testing.cleanup import CleanUp # Base class w registry cleanup
from zope.container.contained import contained
from zope.app.zptpage.browser.zptpage import ZPTPageEval
 
class Test(CleanUp, TestCase):
        template = contained(Template(), folder)
 
        view = ZPTPageEval()
        # Do manually, since directive adds BrowserView as base class
        view.context = template