MCPcopy
hub / github.com/django/django / test_initial_header_level

Method test_initial_header_level

tests/admin_docs/test_utils.py:84–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 self.assertHTMLEqual(description_output, description_rendered)
83
84 def test_initial_header_level(self):
85 header = "should be h3...\n\nHeader\n------\n"
86 output = parse_rst(header, "header")
87 self.assertIn("<h3>Header</h3>", output)
88
89 def test_parse_rst(self):
90 """

Callers

nothing calls this directly

Calls 1

parse_rstFunction · 0.90

Tested by

no test coverage detected