Log message for revision 72203:
  test for collector #2269
  

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-24 03:23:41 UTC (rev 72202)
+++ Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py  
2007-01-24 09:57:11 UTC (rev 72203)
@@ -250,7 +250,15 @@
         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 ZPTMacros(zope.component.testing.PlacelessSetup, unittest.TestCase):
 
     def setUp(self):

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to