changeset 2829:1c49db715499

test_conv160_wiki: fixed ImageLink test
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 10 Sep 2007 23:47:19 +0200
parents c62e95c0b6ba
children 8f21cc746e81
files MoinMoin/script/migration/_tests/test_conv160_wiki.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/_tests/test_conv160_wiki.py	Mon Sep 10 23:20:33 2007 +0200
+++ b/MoinMoin/script/migration/_tests/test_conv160_wiki.py	Mon Sep 10 23:47:19 2007 +0200
@@ -111,7 +111,7 @@
             # macros
             ('[[BR]]', {}, '<<BR>>'),
             ('[[FullSearch(wtf)]]', {}, '<<FullSearch(wtf)>>'),
-            (u'[[ImageLink(töst.png)]]', {}, u'[[attachment:töst.png|{{attachment:test.png}}]]'),
+            (u'[[ImageLink(töst.png)]]', {}, u'[[attachment:töst.png|{{attachment:töst.png}}]]'),
             ('[[ImageLink(test.png,OtherPage)]]', {}, '[[OtherPage|{{attachment:test.png}}]]'),
             ('[[ImageLink(test.png,OtherPage,width=123,height=456)]]', {}, '[[OtherPage|{{attachment:test.png||width=123, height=456}}]]'),
             ('[[ImageLink(test.png,OtherPage,width=123,height=456,alt=alttext)]]', {}, '[[OtherPage|{{attachment:test.png|alttext|width=123, height=456}}]]'),
@@ -119,7 +119,7 @@
             ('[[ImageLink(http://server/test.png,OtherPage,width=123,height=456)]]', {}, '[[OtherPage|{{http://server/test.png||width=123, height=456}}]]'),
             ('[[ImageLink(http://server/test.png,http://server/,width=123)]]', {}, '[[http://server/|{{http://server/test.png||width=123}}]]'),
             ('[[ImageLink(test.png,attachment:test.png)]]', {}, '[[attachment:test.png|{{attachment:test.png}}]]'),
-            ('[[ImageLink(test.png,inline:example.py)]]', {}, '[[inline:example.py|{{attachment:test.png}}]]'),
+            ('[[ImageLink(test.png,inline:test.py)]]', {}, '[[attachment:test.py|{{attachment:test.png}}]]'),
 
         ]
         for data, renames, expected in tests: