We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cfbf20 commit 1eb9fd3Copy full SHA for 1eb9fd3
tests/test_syntax/extensions/test_md_in_html.py
@@ -20,6 +20,7 @@
20
License: BSD (see LICENSE.md for details).
21
"""
22
23
+from unittest import TestSuite
24
from markdown.test_tools import TestCase
25
from ..blocks.test_html_blocks import TestHTMLBlocks
26
@@ -752,3 +753,12 @@ def test_md1_nested_footnote_ref(self):
752
753
'</div>',
754
extensions=['md_in_html', 'footnotes']
755
)
756
+
757
758
+def load_tests(loader, tests, pattern):
759
+ ''' Ensure TestHTMLBlocks doesn't get run twice by excluding it here. '''
760
+ suite = TestSuite()
761
+ for test_class in [TestDefaultwMdInHTML, TestMdInHTML]:
762
+ tests = loader.loadTestsFromTestCase(test_class)
763
+ suite.addTests(tests)
764
+ return suite
0 commit comments