Log message for revision 72210: added test for manage_FTPget() Changed: U Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py
-=- Modified: Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py =================================================================== --- Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py 2007-01-24 11:27:35 UTC (rev 72209) +++ Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py 2007-01-24 11:31:53 UTC (rev 72210) @@ -57,6 +57,14 @@ pt = self.app.pt1 self.assertEqual(pt.document_src(), self.text) + def testFTPGet(self): + # check for bug #2269 + request = self.app.REQUEST + text = '<span tal:content="string:foobar"></span>' + self._addPT('pt1', text=text, REQUEST=request) + result = self.app.pt1.manage_FTPget() + self.assertEqual(result, text) + class DummyFileUpload: _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins