[Zope-Checkins] CVS: Packages/OFS/tests - testFileAndImage.py:1.1.2.2

Andreas Jung andreas at andreas-jung.com
Sat Oct 30 04:31:23 EDT 2004


Update of /cvs-repository/Packages/OFS/tests
In directory cvs.zope.org:/tmp/cvs-serv5416/lib/python/OFS/tests

Modified Files:
      Tag: Zope-2_7-branch
	testFileAndImage.py 
Log Message:
Image.tag() no longer produces a border="0" attribute by default


=== Packages/OFS/tests/testFileAndImage.py 1.1.2.1 => 1.1.2.2 ===
--- Packages/OFS/tests/testFileAndImage.py:1.1.2.1	Mon Mar 29 12:45:21 2004
+++ Packages/OFS/tests/testFileAndImage.py	Sat Oct 30 04:31:23 2004
@@ -224,13 +224,12 @@
         
     def testStr(self):
         self.assertEqual(str(self.file),
-          ('<img src="http://foo/file" alt="" title="" height="16" width="16" '
-           'border="0" />'))
+          ('<img src="http://foo/file" alt="" title="" height="16" width="16" />'))
+           
 
     def testTag(self):
         self.assertEqual(self.file.tag(),
-          ('<img src="http://foo/file" alt="" title="" height="16" width="16" '
-           'border="0" />'))
+          ('<img src="http://foo/file" alt="" title="" height="16" width="16" />'))
 
     def testViewImageOrFile(self):
         pass # dtml method,screw it



More information about the Zope-Checkins mailing list