Test that appended escapes are only in the current instance.
(self)
| 953 | """ Tests block `kHTML` append. """ |
| 954 | |
| 955 | def testBlockAppend(self): |
| 956 | """ Test that appended escapes are only in the current instance. """ |
| 957 | md = markdown.Markdown() |
| 958 | md.block_level_elements.append('test') |
| 959 | self.assertEqual('test' in md.block_level_elements, True) |
| 960 | md2 = markdown.Markdown() |
| 961 | self.assertEqual('test' not in md2.block_level_elements, True) |
| 962 | |
| 963 | |
| 964 | class TestAncestorExclusion(unittest.TestCase): |
nothing calls this directly
no outgoing calls
no test coverage detected