[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Image/tests - testImageData.py:1.1.2.2

Tres Seaver tseaver@zope.com
Tue, 12 Feb 2002 15:56:33 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	testImageData.py 
Log Message:


  - Normalize file headers.

  - Fix violations of "80 character" rule.


=== Zope3/lib/python/Zope/App/OFS/Image/tests/testImageData.py 1.1.2.1 => 1.1.2.2 ===
+#
 # Copyright (c) 2001 Zope Corporation and Contributors.  All Rights Reserved.
 # 
 # This software is subject to the provisions of the Zope Public License,
@@ -6,6 +8,11 @@
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 
 # FOR A PARTICULAR PURPOSE.
+##############################################################################
+"""
+
+$Id$
+"""
 
 import unittest
 
@@ -38,15 +45,19 @@
         self.assertEqual(fe.tag(),
             '<img src="/img" alt="" height="-1" width="-1" border="0" />')
         self.assertEqual(fe.tag(alt="Test Image"),
-            '<img src="/img" alt="Test Image" height="-1" width="-1" border="0" />')
+            '<img src="/img" alt="Test Image" '
+            'height="-1" width="-1" border="0" />')
         self.assertEqual(fe.tag(height=100, width=100),
             '<img src="/img" alt="" height="100" width="100" border="0" />')
         self.assertEqual(fe.tag(border=1),
             '<img src="/img" alt="" height="-1" width="-1" border="1" />')
         self.assertEqual(fe.tag(css_class="Image"),
-            '<img src="/img" alt="" height="-1" width="-1" border="0" class="Image" />')
-        self.assertEqual(fe.tag(height=100, width="100", border=1, css_class="Image"),
-            '<img src="/img" alt="" height="100" width="100" class="Image" border="1" />')
+            '<img src="/img" alt="" '
+            'height="-1" width="-1" border="0" class="Image" />')
+        self.assertEqual(fe.tag(height=100, width="100",
+                         border=1, css_class="Image"),
+            '<img src="/img" alt="" '
+            'height="100" width="100" class="Image" border="1" />')
 
 
 def test_suite():