[Zope-Checkins] CVS: Zope/lib/python/Products/PythonScripts/tests - testPythonScript.py:1.9.16.1

Chris Withers chrisw@nipltd.com
Mon, 11 Feb 2002 09:04:50 -0500


Update of /cvs-repository/Zope/lib/python/Products/PythonScripts/tests
In directory cvs.zope.org:/tmp/cvs-serv32154/lib/python/Products/PythonScripts/tests

Modified Files:
      Tag: Zope-2_5-branch
	testPythonScript.py 
Log Message:
Merge bugfix from HEAD.

=== Zope/lib/python/Products/PythonScripts/tests/testPythonScript.py 1.9 => 1.9.16.1 ===
         assert true
 
+    def testGetSize(self):
+        f = self._newPS(readf('complex_print'))
+        self.assertEqual(f.get_size(),len(f.read()))
+
 def test_suite():
     suite = unittest.TestSuite()
     suite.addTest( unittest.makeSuite( TestPythonScriptNoAq ) )