Test serialization of `ProcessignInstruction`.
(self)
| 582 | ) |
| 583 | |
| 584 | def testProsessingInstruction(self): |
| 585 | """ Test serialization of `ProcessignInstruction`. """ |
| 586 | pi = ProcessingInstruction('foo', text='<&"test\nescaping">') |
| 587 | self.assertIs(pi.tag, ProcessingInstruction) |
| 588 | self.assertEqual( |
| 589 | markdown.serializers.to_xhtml_string(pi), |
| 590 | '<?foo <&"test\nescaping">?>' |
| 591 | ) |
| 592 | |
| 593 | def testQNameTag(self): |
| 594 | """ Test serialization of `QName` tag. """ |
nothing calls this directly
no outgoing calls
no test coverage detected