Test that appended escapes are only in the current instance.
(self)
| 977 | """ Tests block `kHTML` append. """ |
| 978 | |
| 979 | def testBlockAppend(self): |
| 980 | """ Test that appended escapes are only in the current instance. """ |
| 981 | md = markdown.Markdown() |
| 982 | md.block_level_elements.append('test') |
| 983 | self.assertEqual('test' in md.block_level_elements, True) |
| 984 | md2 = markdown.Markdown() |
| 985 | self.assertEqual('test' not in md2.block_level_elements, True) |
| 986 | |
| 987 | |
| 988 | class TestAncestorExclusion(unittest.TestCase): |
nothing calls this directly
no outgoing calls
no test coverage detected