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

Function load_tests

tests/test_syntax/extensions/test_md_in_html.py:1590–1596  ·  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

1588
1589
1590def load_tests(loader, tests, pattern):
1591 """ Ensure `TestHTMLBlocks` doesn't get run twice by excluding it here. """
1592 suite = TestSuite()
1593 for test_class in [TestDefaultwMdInHTML, TestMdInHTML, TestMarkdownInHTMLPostProcessor]:
1594 tests = loader.loadTestsFromTestCase(test_class)
1595 suite.addTests(tests)
1596 return suite

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected