Changeset 1795 for trunk/pylucid_project/tests/markup_creole.py
- Timestamp:
- 11/14/08 11:05:22 (16 months ago)
- Files:
-
- 1 modified
-
trunk/pylucid_project/tests/markup_creole.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid_project/tests/markup_creole.py
r1781 r1795 147 147 <strong><a href="Shortcut2">a page2</a></strong><br /> 148 148 <i><strong><a href="Shortcut3">a page3</a></strong></i></p> 149 """) 150 151 def test_image(self): 152 self.assertCreole(r""" 153 a {{/image.jpg|JPG pictures}} and 154 a {{/image.jpeg|JPEG pictures}} and 155 a {{/image.gif|GIF pictures}} and 156 a {{/image.png|PNG pictures}} ! 157 """, """ 158 <p>a <img src="/image.jpg" alt="JPG pictures"> and<br /> 159 a <img src="/image.jpeg" alt="JPEG pictures"> and<br /> 160 a <img src="/image.gif" alt="GIF pictures"> and<br /> 161 a <img src="/image.png" alt="PNG pictures"> !</p> 149 162 """) 150 163