'test MetaData with Wikilinks Extension.'

def testWikilinksMetaData(self):

    text = u'wiki_base_url:    http://example.com/\nwiki_end_url:            .html\nwiki_html_class:\n\nSome    text    with    a    [[WikiLink]].'
    md = markdown.Markdown(extensions=[u'markdown.extensions.meta', u'markdown.extensions.wikilinks'])
    self.assertEqual(md.convert(text), u'<p>Some    text    with    a    <a    href="http://example.com/WikiLink.html">WikiLink</a>.</p>')
    self.assertEqual(md.convert(u'No    [[MetaData]]    here.'), u'<p>No    <a    class="wikilink"    href="/MetaData/">MetaData</a>    here.</p>')
