Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_FSSTXMethod.py   Products.CMFCore(Download)
    def test_customize_with_DTML( self ):
        from OFS.DTMLDocument import DTMLDocument
        from Products.CMFCore.FSSTXMethod import _CUSTOMIZED_TEMPLATE_DTML
 
        self._setWhichTemplate('DTML')
        self.assertEqual(target.stx, self.fsSTX.raw)
 
        self.assertEqual(target.document_src(), _CUSTOMIZED_TEMPLATE_DTML)
 
    def test_customize_with_ZPT( self ):