Commit 98c75d0a authored by Andreas Jung's avatar Andreas Jung

Image.tag() no longer produces a border="0" attribute

parent c8e62d8d
...@@ -225,13 +225,11 @@ class ImageTests(FileTests): ...@@ -225,13 +225,11 @@ class ImageTests(FileTests):
def testStr(self): def testStr(self):
self.assertEqual(str(self.file), self.assertEqual(str(self.file),
('<img src="http://foo/file" alt="" title="" height="16" width="16" ' ('<img src="http://foo/file" alt="" title="" height="16" width="16" />'))
'border="0" />'))
def testTag(self): def testTag(self):
self.assertEqual(self.file.tag(), self.assertEqual(self.file.tag(),
('<img src="http://foo/file" alt="" title="" height="16" width="16" ' ('<img src="http://foo/file" alt="" title="" height="16" width="16" />'))
'border="0" />'))
def testViewImageOrFile(self): def testViewImageOrFile(self):
pass # dtml method,screw it pass # dtml method,screw it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment