Permalink
Browse files

modified tests for class="img" on anchor tags"

  • Loading branch information...
1 parent 0bbd690 commit 9d65f0893ed7be886929750e625bb13c88910c5d @jsamsa committed Dec 5, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test.py
View
4 test/test.py
@@ -131,7 +131,7 @@ class TestKnownValues():
('!openwindow1.gif(Bunny.)!', '\t<p><img src="openwindow1.gif" title="Bunny." alt="Bunny." /></p>'),
- ('!openwindow1.gif!:http://hobix.com/', '\t<p><a href="http://hobix.com/"><img src="openwindow1.gif" alt="" /></a></p>'),
+ ('!openwindow1.gif!:http://hobix.com/', '\t<p><a href="http://hobix.com/" class="img"><img src="openwindow1.gif" alt="" /></a></p>'),
('!>obake.gif!\n\nAnd others sat all round the small\nmachine and paid it to sing to them.',
'\t<p><img src="obake.gif" style="text-align:right;" alt="" /></p>\n\n\t'
@@ -211,7 +211,7 @@ class TestKnownValues():
'<a href="http://hobix.com">all</a> I ever<br><a href="http://hobix.com">link to</a>!</p>\n\n'),
('!http://hobix.com/sample.jpg!', '\t<p><img src="http://hobix.com/sample.jpg" alt=""></p>'),
('!openwindow1.gif(Bunny.)!', '\t<p><img src="openwindow1.gif" title="Bunny." alt="Bunny."></p>'),
- ('!openwindow1.gif!:http://hobix.com/', '\t<p><a href="http://hobix.com/"><img src="openwindow1.gif" alt=""></a></p>'),
+ ('!openwindow1.gif!:http://hobix.com/', '\t<p><a href="http://hobix.com/" class="img"><img src="openwindow1.gif" alt=""></a></p>'),
('!>obake.gif!\n\nAnd others sat all round the small\nmachine and paid it to sing to them.',
'\t<p><img src="obake.gif" style="text-align:right;" alt=""></p>\n\n\t'
'<p>And others sat all round the small<br>machine and paid it to sing to them.</p>'),

0 comments on commit 9d65f08

Please sign in to comment.