[Zope-Checkins]
SVN: Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py
extended some tests using content_type = text/xml
Andreas Jung
andreas at andreas-jung.com
Sat Jan 13 12:10:56 EST 2007
Log message for revision 72010:
extended some tests using content_type = text/xml
that will raise an exception (undetected so far)
Changed:
U Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py
-=-
Modified: Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py 2007-01-13 16:42:22 UTC (rev 72009)
+++ Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py 2007-01-13 17:10:55 UTC (rev 72010)
@@ -197,12 +197,14 @@
zpt = self._put(xml_iso_8859_15)
self.assertEqual(zpt.output_encoding, 'utf-8')
self.assertEqual(zpt.content_type, 'text/xml')
+ result = zpt.pt_render() # should not raise an exception
def testPutXMLUTF8(self):
""" XML: use always UTF-8 als output encoding """
zpt = self._put(xml_utf8)
self.assertEqual(zpt.output_encoding, 'utf-8')
self.assertEqual(zpt.content_type, 'text/xml')
+ result = zpt.pt_render() # should not raise an exception
class ZPTRegressions(unittest.TestCase):
More information about the Zope-Checkins
mailing list