[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/SQLScript/tests - testDT_SQLTest.py:1.2

Jeremy Hylton jeremy@zope.com
Wed, 17 Jul 2002 18:59:16 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/SQLScript/tests
In directory cvs.zope.org:/tmp/cvs-serv2407/Zope/App/OFS/Content/SQLScript/tests

Modified Files:
	testDT_SQLTest.py 
Log Message:
Make sure StringType is defined.
Add test to make sure this code works.



=== Zope3/lib/python/Zope/App/OFS/Content/SQLScript/tests/testDT_SQLTest.py 1.1 => 1.2 ===
         self.assertEqual(html(column='3'), "column = 3")
         self.assertEqual(html(column='3.1'), result)
         self.assertEqual(html(column=3.1), result)
-
+        self.assertEqual(html(column=0.0), "column = 0.0")
 
     def testStringTypeAndEscaping(self):
         html = self.doc_class("<dtml-sqltest column type=nb>")