MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / testSimpleSettings

Method testSimpleSettings

tests/test_extensions.py:185–197  ·  view source on GitHub ↗

Test Simple Settings.

(self)

Source from the content-addressed store, hash-verified

183 )
184
185 def testSimpleSettings(self):
186 """ Test Simple Settings. """
187
188 self.assertEqual(markdown.markdown(
189 self.text, extensions=[
190 markdown.extensions.wikilinks.WikiLinkExtension(
191 base_url='/wiki/',
192 end_url='.html',
193 html_class='foo')
194 ]
195 ),
196 '<p>Some text with a '
197 '<a class="foo" href="/wiki/WikiLink.html">WikiLink</a>.</p>')
198
199 def testComplexSettings(self):
200 """ Test Complex Settings. """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected