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

Method test_code_html

tests/test_syntax/inline/test_code.py:48–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 )
47
48 def test_code_html(self):
49 self.assertMarkdownRenders(
50 self.dedent(
51 """
52 <p>html</p>
53
54 Paragraph with code: `<p>test</p>`.
55 """
56 ),
57 self.dedent(
58 """
59 <p>html</p>
60
61 <p>Paragraph with code: <code>&lt;p&gt;test&lt;/p&gt;</code>.</p>
62 """
63 )
64 )
65
66 def test_noname_tag(self):
67 # Browsers ignore `</>`, but a Markdown parser should not, and should treat it as data

Callers

nothing calls this directly

Calls 2

assertMarkdownRendersMethod · 0.80
dedentMethod · 0.80

Tested by

no test coverage detected