changeset 198:ade15b9e74fd

moinwiki_in tests: add a test for parser sections, parsing of mimetypes with dots
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 29 Apr 2011 23:17:03 +0200
parents 19e92e1ff286
children c4da076b6cbe
files MoinMoin/converter/_tests/test_moinwiki_in.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/_tests/test_moinwiki_in.py	Fri Apr 29 21:14:35 2011 +0200
+++ b/MoinMoin/converter/_tests/test_moinwiki_in.py	Fri Apr 29 23:17:03 2011 +0200
@@ -259,6 +259,8 @@
                '<page><body><page><body class="red solid"><p>wiki</p></body></page></body></page>'),
             (u'{{{#!text/plain\ntext\n}}}',
                u'<page><body><part content-type="text/plain"><body>text</body></part></body></page>'),
+            (u'{{{#!text/x.moin.creole\ntext\n}}}',
+               u'<page><body><part content-type="text/x.moin.creole"><body>text</body></part></body></page>'),
         ]
         for i in data:
             yield (self.do, ) + i