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

Function load_tests

tests/test_syntax/extensions/test_md_in_html.py:1560–1566  ·  view source on GitHub ↗

Ensure `TestHTMLBlocks` doesn't get run twice by excluding it here.

(loader, tests, pattern)

Source from the content-addressed store, hash-verified

1558
1559
1560def load_tests(loader, tests, pattern):
1561 """ Ensure `TestHTMLBlocks` doesn't get run twice by excluding it here. """
1562 suite = TestSuite()
1563 for test_class in [TestDefaultwMdInHTML, TestMdInHTML, TestMarkdownInHTMLPostProcessor]:
1564 tests = loader.loadTestsFromTestCase(test_class)
1565 suite.addTests(tests)
1566 return suite

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected