[Zope-Checkins] CVS: Zope/lib/python/DocumentTemplate/tests - testDTMLUnicode.py:1.3.4.1

Chris McDonough chrism@zope.com
Sat, 28 Sep 2002 21:41:02 -0400


Update of /cvs-repository/Zope/lib/python/DocumentTemplate/tests
In directory cvs.zope.org:/tmp/cvs-serv16902/lib/python/DocumentTemplate/tests

Modified Files:
      Tag: chrism-install-branch
	testDTMLUnicode.py 
Log Message:
Merge chrism-install-branch with head.  Apologies for the spew.


=== Zope/lib/python/DocumentTemplate/tests/testDTMLUnicode.py 1.3 => 1.3.4.1 ===
--- Zope/lib/python/DocumentTemplate/tests/testDTMLUnicode.py:1.3	Wed Aug 14 18:29:53 2002
+++ Zope/lib/python/DocumentTemplate/tests/testDTMLUnicode.py	Sat Sep 28 21:40:32 2002
@@ -81,6 +81,12 @@
         res = html(a=u'he>llo',b=chr(200))
         assert res == expected, `res`
 
+    def testSize(self):
+        html=self.doc_class('<dtml-var "_.unichr(200)*4" size=2>')
+        expected = unichr(200)*2+'...'
+        res = html()
+        assert res == expected, `res`
+
 def test_suite():
     suite = unittest.TestSuite()
     suite.addTest( unittest.makeSuite( DTMLUnicodeTests ) )