[Zope3-checkins] SVN: Zope3/branches/3.3/src/zope/app/file/tests/test_image.py forgot to backport the test

Bernd Dorn bernd.dorn at fhv.at
Wed Sep 27 09:18:20 EDT 2006


Log message for revision 70394:
  forgot to backport the test

Changed:
  U   Zope3/branches/3.3/src/zope/app/file/tests/test_image.py

-=-
Modified: Zope3/branches/3.3/src/zope/app/file/tests/test_image.py
===================================================================
--- Zope3/branches/3.3/src/zope/app/file/tests/test_image.py	2006-09-27 07:28:49 UTC (rev 70393)
+++ Zope3/branches/3.3/src/zope/app/file/tests/test_image.py	2006-09-27 13:18:18 UTC (rev 70394)
@@ -156,6 +156,10 @@
         self.assertEqual(s.sizeForDisplay().mapping['width'], '?')
         self.assertEqual(s.sizeForDisplay().mapping['height'], '?')
 
+    def test_getImageInfo(self):
+        from zope.app.file.image import getImageInfo
+        t, w, h = getImageInfo("\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C")
+
 def test_suite():
     return unittest.TestSuite((
         unittest.makeSuite(TestImage),



More information about the Zope3-Checkins mailing list