changeset 2553:67ae770a22d5

fix test broken by patch correcting ReST image transclusion
author RogerHaase <haaserd@gmail.com>
date Sat, 18 Jan 2014 14:53:12 -0700
parents 6c8c3782cc18
children 2581df6b3483
files MoinMoin/converter/_tests/test_rst_in.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/_tests/test_rst_in.py	Wed Jan 15 06:09:51 2014 -0700
+++ b/MoinMoin/converter/_tests/test_rst_in.py	Sat Jan 18 14:53:12 2014 -0700
@@ -55,13 +55,13 @@
 
     def test_image(self):
         data = [
-            (u'.. image:: images/biohazard.png', '<page><body><object xlink:href="images/biohazard.png" /></body></page>'),
+            (u'.. image:: images/biohazard.png', '<page><body><ns1:include ns1:href="wiki.local:images/biohazard.png" /></body></page>'),
             (u""".. image:: images/biohazard.png
    :height: 100
    :width: 200
    :scale: 50
-   :alt: alternate text""", '<page><body><object alt="images/biohazard.png" height="100" scale="50" width="200" xlink:href="images/biohazard.png" /></body></page>'),
-            (u'abc |a| cba\n\n.. |a| image:: test.png', '<page><body><p>abc <object alt="test.png" xlink:href="test.png" /> cba</p></body></page>'),
+   :alt: alternate text""", '<page><body><ns1:include alt="images/biohazard.png" height="100" scale="50" width="200" ns1:href="wiki.local:images/biohazard.png" /></body></page>'),
+            (u'abc |a| cba\n\n.. |a| image:: test.png', '<page><body><p>abc <ns1:include alt="test.png" ns1:href="wiki.local:test.png" /> cba</p></body></page>'),
         ]
         for i in data:
             yield (self.do, ) + i