MCPcopy Index your code
hub / github.com/Python-Markdown/markdown / testBasicWikilinks

Method testBasicWikilinks

tests/test_extensions.py:165–172  ·  view source on GitHub ↗

Test `[[wikilinks]]`.

(self)

Source from the content-addressed store, hash-verified

163 self.text = "Some text with a [[WikiLink]]."
164
165 def testBasicWikilinks(self):
166 """ Test `[[wikilinks]]`. """
167
168 self.assertEqual(
169 self.md.convert(self.text),
170 '<p>Some text with a '
171 '<a class="wikilink" href="/WikiLink/">WikiLink</a>.</p>'
172 )
173
174 def testWikilinkWhitespace(self):
175 """ Test whitespace in `wikilinks`. """

Callers

nothing calls this directly

Calls 1

convertMethod · 0.80

Tested by

no test coverage detected