[Zope-Checkins] CVS: Zope/lib/python/Products/PythonScripts/tests - testPythonScript.py:1.10
Chris Withers
chrisw@nipltd.com
Sun, 10 Feb 2002 10:28:05 -0500
Update of /cvs-repository/Zope/lib/python/Products/PythonScripts/tests
In directory cvs.zope.org:/tmp/cvs-serv27716/lib/python/Products/PythonScripts/tests
Modified Files:
testPythonScript.py
Log Message:
Finally! I can edit PythonScripts via FTP and WebDAV with impunity :-)
=== Zope/lib/python/Products/PythonScripts/tests/testPythonScript.py 1.9 => 1.10 ===
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 ) )