Test that appended escapes are only in the current instance.
(self)
| 918 | """ Tests block `kHTML` append. """ |
| 919 | |
| 920 | def testBlockAppend(self): |
| 921 | """ Test that appended escapes are only in the current instance. """ |
| 922 | md = markdown.Markdown() |
| 923 | md.block_level_elements.append('test') |
| 924 | self.assertEqual('test' in md.block_level_elements, True) |
| 925 | md2 = markdown.Markdown() |
| 926 | self.assertEqual('test' not in md2.block_level_elements, True) |
| 927 | |
| 928 | |
| 929 | class TestAncestorExclusion(unittest.TestCase): |
nothing calls this directly
no outgoing calls
no test coverage detected